massakam opened a new pull request, #19298: URL: https://github.com/apache/pulsar/pull/19298
### Motivation I thought it would be convenient to create a reader easily with CLI, so I added the read command to pulsar-client-tools. Example of use: ```sh $ ./bin/pulsar-client read -m 48:-1 -n 5 persistent://public/default/t1 ----- got message ----- key:[null], properties:[], content:m0 ----- got message ----- key:[null], properties:[], content:m1 ----- got message ----- key:[null], properties:[], content:m2 ----- got message ----- key:[null], properties:[], content:m3 ----- got message ----- key:[null], properties:[], content:m4 ``` ### Verifying this change - [ ] Make sure that the change passes the CI checks. ### Documentation - [ ] `doc-required` <!-- Your PR changes impact 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org