You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/05/01 02:01:27 UTC

[GitHub] [pulsar] dragon-zhang commented on issue #15399: Does plusar support key-shared producer?

dragon-zhang commented on issue #15399:
URL: https://github.com/apache/pulsar/issues/15399#issuecomment-1114099658

   For example, there are topic 1(this topic has only 1 partition) and 5 messages:
   1. message1、2、3 with `key1`;
   2. message4、5 with `key2`;
   
   There is no need to guarantee the "global order" of key1 messages and key2 messages, the global order such as `1 2 3 4 5`.
   
   But need to guarantee the order of key1 messages and key2 messages, examples of qualified message sequences are as follows:
   4 5 1 2 3
   4 1 5 2 3
   4 1 2 5 3
   4 1 2 3 5
   1 4 2 3 5
   1 4 2 5 3
   
   see? 4 is always before 5, and 1、2 is always before 3.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org