roelrymenants opened a new issue #11036:
URL: https://github.com/apache/pulsar/issues/11036


   **Is your enhancement request related to a problem? Please describe.**
   Consumers support `KEY_SHARED` subscriptions. For this to work with producer 
batching, the producer needs to use a `KEY_BASED` `BatcherBuilder`. The 
`subscriptionType` of the consumer is currently configurable through 
properties. The `BatcherBuilder` used by the producer however, is only 
configurable through code. It would be nice if this could also be done by 
property.
   
   **Describe the solution you'd like**
   Have a configuration property (e.g. `batcherBuilderType`) which supports 
values `DEFAULT` and `KEY_BASED` for configuring the `BatcherBuilder` used by 
the producer.
   
   **Describe alternatives you've considered**
   None
   
   **Additional context**
   Third party products that use pulsar (e.g. debezium) expose the pulsar 
config through properties. Only being able to configure this in-code is  
inconvenient in such cases.


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


Reply via email to