Readiness probe
GET/readyz
200 when the service can serve traffic: Postgres answers a ping AND a
Kafka broker answers a metadata request (reachability only, never
topics; the verdict is cached 3 seconds). 503 while draining for
shutdown ({"status":"not_ready"}) or while a dependency is down
(problem dependency-unavailable, naming postgres and/or kafka).
/healthz stays liveness only.
Responses
- 200
- 503
Ready.
Draining (not_ready) or a dependency is unavailable (dependency-unavailable).