This is a collection of code examples for working with the HiveMQ Extension System and the HiveMQ MQTT Client.
- math-challenge-extension: An example HiveMQ Extension to demonstrate challenge response authentication.
- math-challenge-client: An example MQTT client to demonstrate challenge response authentication.
- An example how to test a full MQTT implementation using the official HiveMQ Testcontainer.
To try out the cloud hosted version of HiveMQ, simply use the hivemq-getting-started-cloud module. Enter your host, username and password like it is described in the comments and on the website. Then you can see, how an example-implementation would work.
To try out the publicly hosted version of HiveMQ, simply use the hivemq-getting-started-public module.
It will connect to "broker.hivemq.com"
, which is the publicly available broker of HiveMQ.
Run the program, and you can see how an example-implementation would work.