You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/03/16 08:15:10 UTC

[GitHub] [pulsar] rdhabalia opened a new pull request #3835: [pulsar-client-tools] Add support for websocket produce/consume command

rdhabalia opened a new pull request #3835: [pulsar-client-tools] Add support for websocket produce/consume command
URL: https://github.com/apache/pulsar/pull/3835
 
 
   ### Motivation
   Adding websocket client support into cli produce/consume command.
   
   ### Modification
   Add ws produce/consume in cli-tool.
   
   ### Result
   Now, user will be able to produce and consume messages to websocket proxy by just defining broker-service url as `ws://<host>:<port>`.
   eg:
   ```
   consume: 
   ./pulsar-client  --url ws://localhost:8080 consume  persistent://sample/standalone/ns1/t1 -s s1 -n 100
   
   produce:
   ./pulsar-client  --url ws://localhost:8080/ produce -m "test" -n 100 persistent://sample/standalone/ns1/t1 
   ```
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services