Interface IKafkaConsumerCaughtUpCallback
- Namespace
- Silverback.Messaging.Broker.Callbacks
- Assembly
- Silverback.Integration.Kafka.dll
Declares the OnConsumerCaughtUpAsync(IKafkaConsumer) event handler.
public interface IKafkaConsumerCaughtUpCallback : IBrokerClientCallback
Remarks
The CatchUpMode must be set, otherwise the consumer doesn't track whether it's caught up.
Methods
OnConsumerCaughtUpAsync(IKafkaConsumer)
Called when the consumer is caught up, meaning that every partition assigned to it reached its end and all its messages are processed.
Task OnConsumerCaughtUpAsync(IKafkaConsumer consumer)
Parameters
consumerIKafkaConsumerThe related consumer.
Returns
Remarks
The callback is invoked once per connection: a reconnect starts a new catch-up. In Disconnect mode, the consumer is disconnected after the callback returns.