codelipenghui opened a new pull request #5388: [PIP-46] Introduce sticky consumer URL: https://github.com/apache/pulsar/pull/5388 ### Motivation Introduce sticky consumer, users can enable it by ```java client.newConsumer() .keySharedPolicy(KeySharedPolicy.exclusiveHashRange().hashRangeTotal(10).ranges(Range.of(0, 10))) .subscribe(); ``` ### Modifications Add a new consumer selector named HashRangeExclusiveStickyKeyConsumerSelector to support sticky consumer. This change added tests and can be verified as follows: Add new unit tests. ### Does this pull request potentially affect one of the following parts: *If `yes` was chosen, please highlight the changes* - Dependencies (does it add or upgrade a dependency): (no) - The public API: (yes) - The schema: (no) - The default values of configurations: (no) - The wire protocol: (yes) - The rest endpoints: (no) - The admin cli options: (no) - Anything that affects deployment: (no) ### Documentation - Does this pull request introduce a new feature? (yes)
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services