/// <inheritdoc/> public void StoreOffset(ConsumeResult <TKey, TValue> result) => StoreOffset(new TopicPartitionOffset(result.TopicPartition, result.Offset + 1));
/// <summary> /// Initialize a new instance of ConsumeException /// </summary> /// <param name="consumerRecord"> /// An object that provides information know about the consumer /// record for which the error occured. /// </param> /// <param name="error"> /// The error that occured. /// </param> public ConsumeException(ConsumeResult <byte[], byte[]> consumerRecord, Error error) : base(error) { ConsumerRecord = consumerRecord; }