This deployment runs Node-Red and Mosquitto to showcase a full MQTT use-case being reverse proxied through Tyk.
Run the up.sh
script with the mqtt
parameter:
./up.sh mqtt
Everything is setup and wired automatically.
Log into the Node-Red dashboard to test the flow at
http://localhost:1880
Note the nodes say connected
underneath. Tyk is actually intercepting the traffic from the sensors and reverse proxying to the Mosquitto broker via TCP proxy.
Let's test the connection. Follow these steps.