Enum CatchUpMode
- Namespace
- Silverback.Messaging.Configuration.Kafka
- Assembly
- Silverback.Integration.Kafka.dll
Specifies whether the consumer has to catch up with its assigned partitions, consuming each of them until its end, and what to do once it's caught up.
public enum CatchUpMode
Fields
Disconnect = 2The consumer pauses each partition as soon as it reaches its end and disconnects once it's caught up.
KeepConsuming = 1The consumer keeps consuming once it's caught up.
None = 0The consumer doesn't track whether it's caught up.
Remarks
The consumer is caught up when every partition assigned to it reached its end and all its messages are processed. WaitUntilCaughtUpAsync(CancellationToken) then completes and the IKafkaConsumerCaughtUpCallback is invoked.