The MQTT Clients Showcase simulates an MQTT publisher and subscriber for room sensor data.
In order to use the MQTT Clients Showcase, install Go on your operating system.
The showcase includes two main components: pub
and sub
, which simulate the MQTT publisher and subscriber services, respectively.
To run the MQTT publisher, run the following command in the project root directory:
go run pub/main.go
To run the MQTT subscriber, run the following command in the project root directory:
go run sub/main.go
To run automated unit and integration tests, use the following command:
go test ./...