laravel-kafka icon indicating copy to clipboard operation
laravel-kafka copied to clipboard

[QUESTION] Health check when the consumer can start consuming

Open TigoCoinmerce opened this issue 3 years ago • 0 comments

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?

TigoCoinmerce avatar Oct 05 '22 13:10 TigoCoinmerce