Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 672 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 672 Bytes

MQTT Publisher Example App

A simple proof-of-concept app that publishes messages to the public MQTT server at tcp://broker.emqx.io:1883

This app works with in conjunction with a corresponding subscriber app.

MQTT Demo Pub/Sub App

Usage

  1. Ensure that the corresponding subscriber app has first been pushed to Cloud Foundry and is running
  2. Compile with cargo build --release
  3. Start publisher ./target/release/mqtt-pub

The publisher sends 5 messages on the alternating MQTT topics "rust/mqtt", and "rust/test", then terminates.


© 2023 Lighthouse Consulting AS