amqtt/docs/references/amqtt.md

30 wiersze
661 B
Markdown
Czysty Zwykły widok Historia

2025-05-28 13:35:03 +00:00
# amqtt
2025-05-21 13:53:46 +00:00
`amqtt` is a command-line script for running a MQTT 3.1.1 broker.
2025-05-21 13:53:46 +00:00
## Usage
2025-05-21 13:53:46 +00:00
`amqtt` usage:
2025-05-21 13:53:46 +00:00
```
amqtt --version
amqtt (-h | --help)
amqtt [-c <config_file> ] [-d]
```
2025-05-21 13:53:46 +00:00
## Options
2025-05-21 13:53:46 +00:00
- `--version` - amqtt version information
- `-h, --help` - Display `amqtt_sub` usage help
- `-c` - Set the YAML configuration file to read and pass to the client runtime.
2025-05-21 13:53:46 +00:00
## Configuration
2025-05-21 13:53:46 +00:00
Without the `-c` argument, the broker will run with the following, default configuration:
2025-05-21 13:53:46 +00:00
```yaml
--8<-- "../amqtt/amqtt/scripts/default_broker.yaml"
2025-05-21 13:53:46 +00:00
```
Using the `-c` argument allows for configuration with a YAML structured file; see [broker configuration](broker_config.md).