rabbitmq-server/deps/rabbitmq_mqtt
Luke Bakken 620fff22f1
Log errors from `ranch:handshake`
Fixes #11171

An MQTT user encountered TLS handshake timeouts with their IoT device,
and the actual error from `ssl:handshake` / `ranch:handshake` was not
caught and logged.

At this time, `ranch` uses `exit(normal)` in the case of timeouts, but
that should change in the future
(https://github.com/ninenines/ranch/issues/336)
2024-05-06 08:24:38 -07:00
..
include Move macro to the correct Erlang app 2024-03-21 16:29:11 +01:00
priv/schema Make mqtt.subscription_ttl unsupported 2023-07-13 14:47:33 +00:00
src Log errors from `ranch:handshake` 2024-05-06 08:24:38 -07:00
test Merge pull request #10964 from rabbitmq/amqp-parser 2024-05-03 14:48:23 +02:00
.gitignore Support code coverage 2022-11-10 15:04:31 +01:00
BUILD.bazel Fix crash when old node receives new AMQP message 2024-05-02 07:56:00 +00:00
CODE_OF_CONDUCT.md Replace files with symlinks 2022-04-15 06:04:29 -07:00
CONTRIBUTING.md Replace files with symlinks 2022-04-15 06:04:29 -07:00
LICENSE Replace @rabbitmq.com addresses with rabbitmq-core@groups.vmware.com 2023-06-20 15:40:13 +04:00
LICENSE-MPL-RabbitMQ Revert drop of Exhibit B on MPL 2.0 2020-07-20 17:01:38 +01:00
Makefile Add elixir to PLT_APPS for some plugins 2024-04-29 15:23:09 +02:00
README.md More missed license header updates #9969 2024-02-05 12:26:25 -05:00
app.bzl Support AMQP 1.0 natively 2024-02-28 14:15:20 +01:00

README.md

RabbitMQ MQTT Plugin

Getting Started

This is an MQTT plugin for RabbitMQ.

The plugin is included in the RabbitMQ distribution. To enable it, use rabbitmq-plugins:

rabbitmq-plugins enable rabbitmq_mqtt

Default port used by the plugin is 1883.

Documentation

MQTT plugin documentation is available from rabbitmq.com.

Contributing

See CONTRIBUTING.md.

Running Tests

After cloning RabbitMQ umbrella repository, change into the rabbitmq-mqtt directory and run

make tests

This will bring up a RabbitMQ node with the plugin enabled and run integration tests against it. Note that there must be no other MQTT server running on ports 1883 and 8883.

(c) 2007-2024 Broadcom. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. All rights reserved.

Released under the Mozilla Public License, the same as RabbitMQ.