equanz opened a new pull request #10279: URL: https://github.com/apache/pulsar/pull/10279
Master Issue: https://github.com/apache/pulsar/wiki/PIP-79%3A-Reduce-redundant-producers-from-partitioned-producer ### Motivation Please see the PIP document. This is a part of implementations. I will submit the next PR about PartitionedTopicStats later. ### Modifications * Partitioned producer connects to partitions lazily - only support it at Shared mode to support [this specification](https://github.com/apache/pulsar/blob/715e588d5293f8053f1a6ed6447baf9a31a3cae9/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ExclusiveProducerTest.java) * Add round-robin with limit number of partitions routing mode ### Verifying this change * [ ] Make sure that the change passes the CI checks. This change added tests and can be verified as follows: * Added test for lazy-loading * Added test for routing mode class ### 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: (no) - The schema: (no) - The default values of configurations: (no) - The wire protocol: (no) - The rest endpoints: (no) - The admin cli options: (no) - Anything that affects deployment: (no) ### Documentation * Does this pull request introduce a new feature? (yes) * If yes, how is the feature documented? (not documented) -- 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: [email protected]
