What to do when weird MQTT messages appear?

This troubleshooting guide describes what can be done when strange MQTT messages appear.

Problem

MQTT messages appear out of nowhere and it is unclear where this is originated.

Solution

  1. 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

Last modified February 17, 2023: update (#208) (ea731fc)