mqtt-mirror
mqtt-mirror copied to clipboard
Fork MQTT traffic from broker A to B like it's potatoes 🥔.
It seems to only sync when the docker starts. After that, nothing is synced but entries do show in the verbose logs as synced. Docker entry command: ./mqtt-mirror --source tcp://192.168.1.169:1883...
` command: ./mqtt-mirror --source tcp://host.docker.internal:1883 --target test:#[email protected]:8883` ends up interpreted as ` --target test:`
 At 07:30 a systemctl restart docker ran. mqtt-mirror picked it up gracefully but only in log BUT it did not really mirror. Only a later manual container restart really...
After 3 days the mirror breaks down. So here is a helper for anyone encountering the same issue. I haven't got time to research the underlying issue, but this way...