GitHub user merlimat added a comment to the discussion: RoundRobinPartition 
mode:enable batching and has key , What will be the run result?

If a key is provided on the message, that it will be honored. The round-robin 
is only applied if there's no key.

You can find the logic in 
https://github.com/apache/pulsar/blob/master/pulsar-client/src/main/java/org/apache/pulsar/client/impl/RoundRobinPartitionMessageRouterImpl.java#L74
 

GitHub link: 
https://github.com/apache/pulsar/discussions/18366#discussioncomment-4114438

----
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