Readiness probe
GET/readyz
200 when the service can serve traffic. 503 in two cases: while
draining for shutdown ({"status":"not_ready"}), and while Postgres or
the Kafka broker is unreachable (problem dependency-unavailable, its
detail names the failing dependency: postgres, kafka). The
Postgres ping and the Kafka metadata request (an empty topic list is
healthy; topics are never required) are cached for 3 seconds and
bounded at 2 seconds.
Responses
- 200
- 503
Ready.
Draining for shutdown (Status), or a runtime dependency is unavailable (Problem).