emqx/apps/emqx_bridge_mqtt
Thales Macedo Garitezi 425eba8b13 fix(mqtt_bridge): ensure `server` key is a binary
Fixes https://emqx.atlassian.net/browse/EMQX-10461

So that it can be JSON encoded correctly.

```
2023-06-30T02:00:41.160110+00:00 [debug] msg: publish_to, mfa: emqx_trace:publish/1, line: 73, topic: b/$, payload: {"topic":"t/1","server":[49,48,46,52,50,46,51,46,49,56,48,58,49,56,56,51],"retain":false,"qos":1,"pub_props":{},"payload":"{\"msg\": \"hello\"}","message_received_at":1688090441159,"id":"0005FF4F2F181488103417000C2E0000","dup":false}, tag: PUBLISH
```
2023-06-30 13:46:24 -03:00
..
src fix(mqtt_bridge): ensure `server` key is a binary 2023-06-30 13:46:24 -03:00
test fix(mqtt_bridge): ensure `server` key is a binary 2023-06-30 13:46:24 -03:00
README.md chore(mqttbridge): add README 2023-05-30 17:56:35 +03:00
rebar.config fix(mqttbridge): ensure elixir release assembles successfully 2023-05-30 17:56:35 +03:00

README.md

EMQX MQTT Broker Bridge

This application connects EMQX to virtually any MQTT broker adhering to either MQTTv3 or MQTTv5 standard. The connection is facilitated through the MQTT bridge abstraction, allowing for the flow of data in both directions: from the remote broker to EMQX (ingress) and from EMQX to the remote broker (egress).

User can create a rule and easily ingest into a remote MQTT broker by leveraging EMQX Rules.

Documentation

  • Refer to Bridge Data into MQTT Broker for how to use EMQX dashboard to set up ingress or egress bridge, or even both at the same time.

  • Refer to EMQX Rules for the EMQX rules engine introduction.

HTTP APIs

Several APIs are provided for bridge management, refer to API Docs - Bridges for more detailed information.

Contributing

Please see our contributing guide.

License

Apache License 2.0, see LICENSE.