NAME
Beekeeper::Service::ToyBroker::Worker - Basic MQTT 5.0 broker
VERSION
Version 0.09
DESCRIPTION
ToyBroker implements a small MQTT 5.0 subset needed to run a Beekeeper worker pool.
It is intended to be used for development or running tests only. For production work a real broker (like Mosquitto, HiveMQ, VerneMQ...) is needed.
A ToyBroker will be started automatically in any pool which has use_toybroker
option set to a true value in its config file pool.config.json
.
ToyBroker is configured from file toybroker.config.json
, which is looked for in ENV BEEKEEPER_CONFIG_DIR
, ~/.config/beekeeper
and then /etc/beekeeper
.
Example configuration:
[
{
"listen_addr" : "127.0.0.1",
"listen_port" : "1883",
"users" : {
"backend" : { "password" : "def456" },
},
},
{
"listen_addr" : "127.0.0.1",
"listen_port" : "11883",
"users" : {
"frontend" : { "password" : "abc123" },
"router" : { "password" : "ghi789" },
},
},
]
AUTHOR
José Micó, jose.mico@gmail.com
COPYRIGHT AND LICENSE
Copyright 2015-2023 José Micó.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language itself.
This software is distributed in the hope that it will be useful, but it is provided “as is” and without any express or implied warranties. For details, see the full text of the license in the file LICENSE.