aloyszhang opened a new issue #11300:
URL: https://github.com/apache/pulsar/issues/11300


   **Describe the bug**
   
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. create a topic `test/test/test`
   2. send a message which content is "test" by a batching enabled producer
   3. run the Admin Tool with command `bin/pulsar-admin topics peek-messages 
test/test/test -s sub -n 1`
   4. See error
   
   **Expected behavior**
   The admin tool should return the right size of batch message.
   
   **Screenshots**
   ```shell
   bin/pulsar-admin topics peek-messages test/test/test -s sub -n 1
   ```
   
![image](https://user-images.githubusercontent.com/48062889/125421204-8e43e8b7-77f3-4287-b74d-dcbf945f2d4f.png)
   
   


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