![]() | ||||
| Credits: | The XMQ web site is provided by Linotex. | The XMQ and SPTK Windows installers are created with Advanced Installer free Open-Source license. | ||
| There were 0 unique visitors to this page | |
Download the XMQ MQTT serverThe free XMQ MQTT server is distributed as binary packages for Linux (.deb and .rpm), FreeBSD (pkg) and Windows, and as a Docker image. Pick the XMQ version and the operating system; each release also lists the SPTK class library it was built with, in source code and binary packages. There is no XMQ package for this selection. Run it in DockerThe same release is published as a Docker image, alexeyparshin/xmq. The image installs the .deb from this page rather than building from source, so a container holds exactly the binaries listed above. Tags are the version number and docker run --rm -p 1883:1883 alexeyparshin/xmq The broker takes clients with no credentials out of the box, so nothing has to be configured before the first publish: mosquitto_pub -h localhost -t test/hello -m 'first message' That default suits trying the broker out and nothing else. Add The configuration, the accounts and the certificate live in docker run -d -p 1883:1883 -p 8883:8883 -p 18883:18883 -v xmq-config:/etc/xmq --ulimit nofile=1048576:1048576 alexeyparshin/xmq The descriptor limit belongs there too: Docker gives a container 1024 open files, which caps the broker at about a thousand connections. Sessions, queued messages and retained messages are kept in Redis when |
