We sometimes have a problem with our MQTT-connector that is disconnecting (always running on our FME Server), but it only shows in the log as a warning.
21318 2021-5-17 11:08:21 | MQTTConnector: Unexpectedly disconnected from broker. Will attempt to reconnect automatically... Error: Connection Refused: unacceptable protocol version.
Restarting it works just fine, but it didn't try to reconnect, or at least no log message about it. It was haulted like that for 10 days until I manually stopped & started it …
When this happenes, the job seems to be running like normal, and you manually has to go into the log (when running) to see that the job has stopped receiving data from the MQTT-provider.
I had to implement a separate test on a different FME Server job to check whether sensordata came in or not, but the optimal would be to get a notification (eg. by email) if the connection is not reestablished within a few seconds.
Looking forward to suggestions & future updates.
Kenneth.
Edit:
We are planning to move this FME Server job to 'Streams'. Will this help with our problem, and if so, how?
Edit2:
When the job is running, it's possible to go in and check what's happening. When the job is stopped (manually, as it is set to always run), it is sometimes not possible to see the log – Error: The log file for job ID "4" does not exist. Other times it shows the log.
Kind of strange …