Ejemplo n.º 1
0
 /// <inheritdoc/>
 public List <TopicPartitionOffset> Committed(TimeSpan timeout)
 // TODO: use a librdkafka queue for this.
 => kafkaHandle.Committed(Assignment, (IntPtr)timeout.TotalMillisecondsAsInt());
Ejemplo n.º 2
0
 /// <summary>
 ///     Refer to <see cref="Confluent.Kafka.IConsumer{TKey,TValue}.Committed(IEnumerable{TopicPartition}, TimeSpan)" />
 /// </summary>
 public List <TopicPartitionOffset> Committed(IEnumerable <TopicPartition> partitions, TimeSpan timeout)
 // TODO: use a librdkafka queue for this.
 => kafkaHandle.Committed(partitions, (IntPtr)timeout.TotalMillisecondsAsInt());