dev.profunktor.pulsar.SeqIdMaker
See theSeqIdMaker companion object
Dictates how sequenceId
s (used for deduplication) are generated based on:
- A previous sequence id (-1 if there are no previous messages).
- A message to be published you can use to compare with previous messages.
Users are responsible for keeping track of their messages, and return (lastSeqId + 1) when the message is unique, or simply lastSeqId
when it's a duplicate.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article