Weird MQTT messages

Sometimes it can happen that MQTT messages appear out of nowhere and it is unclear where it originates from.

Problem

Sometimes it can happen that MQTT messages appear out of nowhere and it is unclear where it originates from.

Solution

By connecting to the VerneMQ pod you can execute the following troubleshooting commands:

vmq-admin session show

Untitled

This shows all connected clients

vmq-admin trace client client-id=united-manufacturing-hub-mqttkafkabridge-5d97f986dd-vr652

Untitled

This prints all communication of a single client