Show / Hide Table of Contents

    Interface IKafkaPartitionsRevokedCallback

    Declares the OnPartitionsRevoked(IReadOnlyCollection<TopicPartitionOffset>, KafkaConsumer) event handler.

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

    Methods

    | Improve this doc View source

    OnPartitionsRevoked(IReadOnlyCollection<TopicPartitionOffset>, KafkaConsumer)

    Called immediately prior to a group partition assignment being revoked.

    Declaration
    void OnPartitionsRevoked(IReadOnlyCollection<TopicPartitionOffset> topicPartitionsOffset, KafkaConsumer consumer)
    Parameters
    Type Name Description
    IReadOnlyCollection<TopicPartitionOffset> topicPartitionsOffset

    A collection of Confluent.Kafka.TopicPartitionOffset representing the the set of partitions the consumer is currently assigned to, and the current position of the consumer on each of these partitions.

    KafkaConsumer consumer

    The related consumer instance.

    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini