nicoloboschi opened a new pull request #14074:
URL: https://github.com/apache/pulsar/pull/14074


   
   Fixes #14072 
   
   ### Motivation
   
   When calling `ProducerBuilder#properties` and `ConsumerBuilder#properties` 
with an empty map the builder will throw a IAE
   There are some cases where you build an abstraction over the Consumer or 
Producer build process, and it's very annoying to check if the computed `Map` 
is empty or not. There are no pros to keep the checks
   
   ### Modifications
   
   * Let the properties field to be an empty `Map `for `ConsumerBuilder` and 
`ProducerBuilder`
   
   ### Verifying this change
   
   
   ### Documentation
   
   - [x] `no-need-doc` 
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to