[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mosquitto-dev] Implementing health check for containerized MQTT server application?
|
I'm not sure I made my question clear, I'm not talking about setting up health
checks for the mosquito message broker itself, I'm talking about a pattern for
setting up health checks for a worker program that subscribes to MQTT messages,
does work, and possibly posts a message in response.
Steve
On 7/23/2022 5:22 PM, Ben Hardill wrote:
setup a listener bound to 127.0.0.1 with protocol set to websockets and set
the http_dir option to point to a directory with a file in it.
http_dir directory
When a listener is using the websockets protocol, it is possible to serve
http data as well. Set http_dir to a directory which contains the files you
wish to serve. If this option is not specified, then no normal http
connections will be possible.
On 23/07/2022 20:41, Steve Prior wrote:
I've written a number of server applications that perform work based on MQTT
subscriptions and deployed those applications in Docker containers. What I
haven't done yet is set up container health checking for those applications.
I was wondering what patterns for health checking people have found
effective? These applications don't have any interface besides the MQTT
subscriptions and published response - no REST API.
Thanks
Steve
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/mosquitto-dev