<p>I need consume messages from Kafka. Application deployed in k8s pod. If I create some readiness probe to check pre-initialization steps are done or not, will k8s be able to control the consume to start consume after that?<br />
I know readiness probe can help to control allocate outside request to pod before it is up. But not sure will it be able to control request initiated from pod.</p>

Sanchelz 
<p>Kubernetes uses liveness and readiness probes to find out if your pods are healthy. If the liveness probe fails, Kubernetes will kill the container and automatically restart it if the restart policy is set accordingly. If the readiness probe fails then Kubernetes will remove the pod from serving requests through a service. But,it doesn't necessarily mean kafka is ready to consume messages. kafka can not consume messages until broker is <code>unfenced</code>. I would suggest you to manually handle this.</p>
