pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] rdhabalia opened a new pull request #3835: [pulsar-client-tools] Add support for websocket produce/consume command
Date Sat, 16 Mar 2019 08:15:10 GMT
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

Mime
View raw message