NAME

Beekeeper::Service::ToyBroker::Worker - Basic MQTT 5 broker

VERSION

Version 0.05

DESCRIPTION

ToyBroker implements a small MQTT subset needed to run a Beekeeper worker pool.

Being single threaded it does not scale at all, but it is suitable for development or running tests.

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" : "8001",

        "users" : {
            "frontend" : { "password" : "abc123" },
            "router"   : { "password" : "ghi789" },
        },
    },
]

AUTHOR

José Micó, jose.mico@gmail.com

COPYRIGHT AND LICENSE

Copyright 2021 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.