Shawyeok opened a new pull request, #15145:
URL: https://github.com/apache/pulsar/pull/15145

   ### Motivation
   
   Now it's not possible use `pulsar-client produce` send a message with `null` 
body, but it's needed in some scenes, e.g. delete topic policy manually or test 
topic compaction.
   
   ### Modifications
   
   Add an explicit option `--null` to `pulsar-client produce` subcommand.
   
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   This change added tests and can be verified as follows:
   
     - *Added unit test PulsarClientToolTest#testNullBody*
   
   ### Does this pull request potentially affect one of the following parts:
   
     - 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)
     - Anything that affects deployment: (no)
   
   ### Documentation
   
   - [x] `doc-required` 
   (Your PR needs to update docs and you will update later)


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