labuladong opened a new issue, #18439:
URL: https://github.com/apache/pulsar/issues/18439

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Version
   
   Master version of Pulsar.
   
   Version 4.0.1 (v4.0.1-0-ge9f3970b1527) of Wireshark.
   
   
   
   ### Minimal reproduce step
   
   https://github.com/apache/pulsar/pull/13564 add a lua script to parse Pulsar 
command, which is great.
   
   I follow the step 
[here](https://github.com/apache/pulsar/tree/master/wireshark).
   
   First I put `PulsarApi.proto` file to a folder and set `protobuf search 
path` in wireshark:
   
   
![image](https://user-images.githubusercontent.com/37220920/201467580-96b229d6-6c38-46b7-8202-374de2e86b7f.png)
   
   Then I copy lua script to plugin folder:
   
   
![image](https://user-images.githubusercontent.com/37220920/201467603-23e29f4a-530c-4a37-bbdb-a0ca2e994814.png)
   
   Restart wireshark and start a pulsar standalone, I can see ping/pong message 
on port 6650:
   
   <img width="611" alt="image" 
src="https://user-images.githubusercontent.com/37220920/201467759-74836733-7c1f-4de7-8374-4ecba0268c17.png";>
   
   Now, I create a producer or consumer to send or consume messages.
   
   
   ### What did you expect to see?
   
   Wireshark should parse other protobuf packages just like ping/pong.
   
   ### What did you see instead?
   
   Wireshark will crash.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


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