Bridge data to EMQX
Setup another MQTT broker using emqx, taking Mac OSX for instance:
$ brew tap emqx/emqx/emqx$ brew install emqx# start emqx$ emqx console
Create a rule:
Go to EMQX Dashboard
(opens new window), select the “rule” tab on the menu to the left.
Select “message.publish”, then type in the following SQL:
SELECT*FROM"message.publish"

Bind an action:
Click on the “+ Add” button under “Action Handler”, and then select “Data bridge to MQTT Broker” in the pop-up dialog window.

Bind a resource to the action. Since the dropdown list “Resource” is empty for now, we create a new resource by clicking on the “New Resource” to the top right, and then select “MQTT Bridge”:
