Ejemplo n.º 1
0
 public PartitionOffsets GetPartitionOffsets(Guid consumerId, [Required] string token, [Required] string topic,
                                             [Required][Range(0, int.MaxValue)] int partition, [Range(0, int.MaxValue)] int?timeout)
 {
     return(_service.GetPartitionOffsets(consumerId, token, topic, partition,
                                         timeout.HasValue ? TimeSpan.FromMilliseconds(timeout.Value) : null));
 }