Show / Hide Table of Contents

    Interface IKafkaOffsetCommittedCallback

    Declares the OnOffsetsCommitted(CommittedOffsets, KafkaConsumer) event handler.

    Namespace: Silverback.Messaging.Broker.Callbacks
    Assembly: Silverback.Integration.Kafka.dll
    Syntax
    public interface IKafkaOffsetCommittedCallback : IBrokerCallback

    Methods

    | Improve this doc View source

    OnOffsetsCommitted(CommittedOffsets, KafkaConsumer)

    Called to report the result of offset commits.

    Declaration
    void OnOffsetsCommitted(CommittedOffsets offsets, KafkaConsumer consumer)
    Parameters
    Type Name Description
    CommittedOffsets offsets

    The per-partition offsets and success or error information and the overall operation success or error information.

    KafkaConsumer consumer

    The related consumer instance.

    Remarks

    Possible error conditions:

    • Entire request failed: Error is set, but not per-partition errors.
    • All partitions failed: Error is set to the value of the last failed partition, but each partition may have different errors.
    • Some partitions failed: global Error is success (Confluent.Kafka.ErrorCode.NoError).
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini