yuruguo opened a new pull request #12128:
URL: https://github.com/apache/pulsar/pull/12128


   ### Motivation
   The value of option `--forward-source-message-property` is true by default, 
but it cannot be set to false, which means that we cannot prevent the input 
message's properties from being forwarded to the output topic. 
   
   The problem is that JCommander doesn't expect arguments to boolean 
parameters by default.
   This is explained in the JCommander manual and issue comment 
cbeust/jcommander#129 (comment) .
               
   ### Modifications
   - add arity = 1 to the JCommander Parameter annotation.
       JCommander requires specifying arity = 1 to boolean parameters that have 
a default value of true.
   
   ### Documentation
   - `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