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 October 5, 2022: Historian article (#107) (5f30dc0)