Readiness check
GET/readyz
Readiness probe for the service. Returns 200 {"status":"ready"} while the process accepts traffic AND Postgres answers a ping AND a Kafka broker answers a metadata request (reachability only: topics are never required, the service's writers auto-create them). The dependency verdict is cached for a few seconds. Returns 503 {"status":"not_ready"} once graceful shutdown has begun (readiness is flipped first so a Kubernetes readinessProbe stops routing new requests during the drain window), and a 503 problem+json of type dependency-unavailable (the detail names the failing dependencies) while Postgres or Kafka is not reachable. Separate from /healthz, which is liveness and is never flipped by shutdown or by a dependency.
Responses
- 200
- 503
Service is ready to receive traffic.
The service is draining, or Postgres or Kafka is not reachable, and must not receive new traffic.