[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paho-dev] Paho MQTT V5 sandbox server
- From: Ian Craggs <icraggs@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 7 Sep 2018 15:28:41 +0100
- Delivered-to: email@example.com
- User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
Oh, yes.Â And a good way of trying it out is by using the V5 support in
the C client.Â For instance, you can connect the publish and subscribe
ÂÂÂ paho_c_pub x --connection ws://paho8181.cloudapp.net -V 5
--user-property name value --trace protocol
ÂÂÂ paho_c_sub x --connection ws://paho8181.cloudapp.net -V 5 -v
ÂÂÂ -V 5ÂÂÂ Â Â Â Â Â Â Â Â Â Â use MQTT V5
ÂÂÂ -vÂÂÂ Â Â Â Â Â Â Â Â Â ÂÂÂÂ verbose: shows received user
properties amongst other things
ÂÂÂ --trace protocolÂÂÂÂ shows the MQTT packets
ÂÂÂ --user-propertyÂÂÂÂ attaches a user property to each message (a
ÂÂÂ ws://ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ using a websocket connection
These are currently available in the repo - almost ready to cut a release.
On 07/09/2018 15:15, Ian Craggs wrote:
as per Benjamin's suggestion, I've set up a Paho virtual server
running the V5 broker (from the paho.mqtt.testing project).
You can find it at paho8181.cloudapp.net, port 1883 (naturally!).ÂÂÂ
It also does V3 and websockets on the same port, but I've not yet
added a TLS config.
I'm thinking of adding other capabilities to aid testing/monitoring
such as being able to extract a packet trace and configuration for
error path testing (-ve acks for instance). Have to be mindful of GDPR
requirements in doing so though.
icraggs@xxxxxxxxxx IBM United Kingdom
Eclipse Paho Project Lead & Mosquitto Committer