Currently the broker takes no arguments. Just run with go run .
.
The broker listens for TCP connections on port 8888 by default.
Spec can be found here: https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.pdf Test suite: https://github.com/eclipse-paho/paho.mqtt.testing/tree/master/interoperability