Expand description
Idempotent-producer sequence arithmetic and deduplication decision.
Structs§
- Producer
Entry Facts - The fields of one producer’s tracked entry that the sequence check reads.
- Retained
Sequence Range - The sequence range of one batch a producer’s entry retains: Kafka’s
BatchMetadatafirstSeqandlastSeq.
Enums§
- Producer
Decision - Result of classifying an idempotent-producer batch.
Functions§
- decrement_
sequence - Move a Kafka producer sequence backwards modulo
2^31. - increment_
sequence - Advance a Kafka producer sequence modulo
2^31. - producer_
completion_ window - Merge a deferred data completion into the current epoch’s retry window.
- producer_
decision - Classify an incoming batch against a producer’s tracked entry and the sequence ranges of the batches it retains.