laravel-kafka
laravel-kafka copied to clipboard
[QUESTION] Health check when the consumer can start consuming
Hello!
I am trying to figure out if a healthcheck can be configured or added.
When I start the consumer in our kubernetes cluster it takes a solid 30 seconds for the consumer to start consuming and I want to see if I can add a healthcheck so I can keep the old consumers running until the new one can actually start consuming. This would prevent having message lag when updating our consumers
Is there an easy way to implement a healthcheck for this?