Sybren A. Stüvel ed71042073 Add MQTT Server for debugging purposes
Add an MQTT server (aka 'broker') that logs all published messages. This
is purely for debugging Flamenco Manager's events. Although it should
work fine as MQTT broker, it's not meant for production use.

Run the server with `go run ./cmd/mqtt-server`
2025-09-02 09:41:42 +02:00

30 lines
661 B
Markdown

# MQTT Server
This is a little MQTT server for test purposes. It logs all messages that
clients publish.
**WARNING:** This is just for test purposes. There is no encryption, no
authentication, and no promise of any performance. Havnig said that, it can be
quite useful to see all the events that Flamenco Manager is sending out.
## Running the Server
```
go run ./cmd/mqtt-server
```
## Connecting Flamenco Manager
You can configure Flamenco Manager for it, by setting this in your
`flamenco-manager.yaml`:
```yaml
mqtt:
client:
broker: "tcp://localhost:1883"
clientID: flamenco
topic_prefix: flamenco
username: ""
password: ""
```