Broker¤
amqtt¤
Command-line script for running a MQTT 3.1.1 broker.
Usage¤
amqtt [OPTIONS]
Arguments¤
No arguments available
Options¤
| Name | Description | Required | Default |
|---|---|---|---|
-c TEXT |
broker configuration file | No | - |
-d |
Enable debug messages | No | - |
--version |
Show version and exit | No | - |
--help |
Show this message and exit. | No | - |
Commands¤
No commands available
Configuration¤
Without the -c argument, the broker will run with the following, default configuration:
---
listeners:
default:
type: tcp
bind: 0.0.0.0:1883
plugins:
amqtt.plugins.logging_amqtt.EventLoggerPlugin:
amqtt.plugins.logging_amqtt.PacketLoggerPlugin:
amqtt.plugins.authentication.AnonymousAuthPlugin:
allow_anonymous: true
amqtt.plugins.sys.broker.BrokerSysPlugin:
sys_interval: 20
Using the -c argument allows for configuration with a YAML structured file; see broker configuration.