Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Paho MQTT V5 sandbox server

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

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

where:
    -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 name/value pair)
    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:
Hi All,

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.


--
Ian Craggs
icraggs@xxxxxxxxxx                 IBM United Kingdom
Eclipse Paho Project Lead & Mosquitto Committer



Back to the top