eolivelli opened a new issue #14072:
URL: https://github.com/apache/pulsar/issues/14072


   **Describe the bug**
   If I pass an empty map to ConsumerBuilder#properties I get this error.
   It is very annoying in case you have a set of properties that is dynamically 
generated.
   We can just simply ignore the call to ConsumerBuilder is case of empty 
properties.
   
   ```
   java.lang.IllegalArgumentException: properties cannot be empty
        at 
org.apache.pulsar.shade.com.google.common.base.Preconditions.checkArgument(Preconditions.java:142)
        at 
org.apache.pulsar.client.impl.ConsumerBuilderImpl.properties(ConsumerBuilderImpl.java:335)
   ```
   
   **Additional context**
   Pulsar 2.8.2 onwards


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