Skip to content

Streams: consider allowing non-numerical values for publishingId #11195

Closed Answered by kjnilsson
zenios asked this question in General
Discussion options

You must be logged in to vote

I was wondering if there are discussions in place to lift the long as restriction of publishinId and let the consumer pass anything. If my undertanding is correct publishingId as of now is just saved in the stream and its up to the consumer to retrieve it and compare it in order to decided if they want to deduplicate or not.

No the stream maintains the publishing-id and will not write any messages for a given publisher if they send an id that is lower than or equal to the last publishing id seen for the given publisher name. Consumers do not need to do anything additional to de-duplicate. In fact this publishing-id is not exposed to consumers (unless you add it to the message meta data …

Replies: 4 comments 16 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@zenios
Comment options

@zenios
Comment options

@michaelklishin
Comment options

@zenios
Comment options

Comment options

You must be logged in to vote
12 replies
@kjnilsson
Comment options

@zenios
Comment options

@kjnilsson
Comment options

@kjnilsson
Comment options

@zenios
Comment options

Answer selected by zenios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants
Converted from issue

This discussion was converted from issue #11162 on May 08, 2024 21:07.