Suppose I’m consuming DCP mutation messages using the DCP client. I need a number that is incrementing for every message. Notice that this has nothing to do with the order that records are inserted in the database. This is not important. It also has nothing to do with atomic counters. The only guarantee I need is that if DCP delivers me message “A” and AFTER message “A”, it delivers message “B”, message B must have a GREATER sequence number than A. The sequence number does not have to be evenly spaced either. It can be something like 10, 17, 19, 39, 115, 120, 121.
Thanks