Skip to content

Messages with same ID (Duplication), take the new one #633

Answered by scottf
fabianhaaa asked this question in Q&A
Discussion options

You must be logged in to vote

Messages published with the duplicate message id are not added to the stream, which is why you always get the "oldest". Maybe KeyValueStore will solve your problem, you can continually publish to the same key and the value of the key is always the latest, and you can configure how much history per key is retained.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by scottf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants