roelrymenants opened a new pull request #11040:
URL: https://github.com/apache/pulsar/pull/11040
Fixes #11036
### Motivation
See #11036 for background on this PR
### Modifications
Added a getter/setter pair for `batcherBuilderType` on the
`ProducerConfigurationData` class, which manipulate the `batcherBuilder`
attribute, based on an enum. This allows for easy mapping to/from properties
and json format.
### Verifying this change
- [ ] Make sure that the change passes the CI checks.
This change added tests and can be verified as follows:
- Extended `ConfigurationDataUtilsTest::testLoadProducerConfigurationData`
### 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: config property added, not actual cli
options)
- Anything that affects deployment: (no: config property added, but
default didn't change)
### Documentation
- Does this pull request introduce a new feature? (yes)
- If yes, how is the feature documented? (docs: `client-libraries-java.md`)
--
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]