Exemple #1
0
 /// <inheritdoc/>
 public List <TopicPartitionOffset> Commit()
 // TODO: use a librdkafka queue for this.
 => kafkaHandle.Commit(null);
Exemple #2
0
 /// <summary>
 ///     Commit all offsets for the current assignment.
 /// </summary>
 /// <param name="cancellationToken">
 ///     A cancellation token that can be used to cancel this operation
 ///     (currently ignored).
 /// </param>
 /// <exception cref="Confluent.Kafka.KafkaException">
 ///     Thrown if the request failed.
 /// </exception>
 /// <exception cref="Confluent.Kafka.TopicPartitionOffsetException">
 ///     Thrown if any of the constituent results is in error. The entire result
 ///     (which may contain constituent results that are not in error) is available
 ///     via the <see cref="Confluent.Kafka.TopicPartitionOffsetException.Results" />
 ///     property of the exception.
 /// </exception>
 public List <TopicPartitionOffset> Commit(CancellationToken cancellationToken = default(CancellationToken))
 // TODO: use a librdkafka queue for this.
 => kafkaHandle.Commit(null);