You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/11/18 09:27:52 UTC

[GitHub] [pulsar] ngoyal16 created a discussion: How can i wait consumer to deliver the message with same key

GitHub user ngoyal16 created a discussion: How can i wait consumer to deliver the message with same key

How to wait consumer to deliver the message with same key until there is an ACK or NCK for already consumed message with same key is came?

GitHub link: https://github.com/apache/pulsar/discussions/18538

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


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

Posted by GitBox <gi...@apache.org>.
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-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] ngoyal16 added a comment to the discussion: How can i wait consumer to deliver the message with same key

Posted by GitBox <gi...@apache.org>.
GitHub user ngoyal16 added a comment to the discussion: How can i wait consumer to deliver the message with same key

can someone please help me with this? @Jason918 

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

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