GitHub user Jason918 added a comment to the discussion: How can i wait consumer 
to deliver the message with same key

Seems like you are talking about the consumption order guarantee.
If you are using a partitioned topic and did not change the producer's message 
routing mode, ' RoundRobinPartition` by default, make sure messages with the 
same key go into the same partition.
On the consumer end, as long as you don't use the `SubscriptionType.Shared`, 
the consumption order should be guaranteed.



GitHub link: 
https://github.com/apache/pulsar/discussions/18538#discussioncomment-4186638

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org

Reply via email to