session.timeout.ms
The consumer setting for how long the group coordinator waits without a heartbeat before declaring the consumer dead and rebalancing.
In more detail
A shorter timeout detects crashed consumers faster but risks false alarms during brief pauses. kafka-python 2.2 defaults to 10000 milliseconds.
Related terms
- heartbeat — A small message sent at regular intervals on a long-lived connection to prove that both ends and the path between them are still alive.
- heartbeat.interval.ms — The consumer setting for how often, in milliseconds, the consumer sends a heartbeat to the group coordinator.
- rebalance — The process in which a consumer group redistributes partitions among its members after one joins, leaves or is judged dead.
- max.poll.interval.ms — The consumer setting for the longest gap allowed between two poll calls before the consumer is treated as stuck and removed from the group.
Taught in
- Two Copies Of One Service — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Too Slow Between Two Polls — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Twenty Seconds Of Nothing — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Two Brokers Down — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Forty One Under-Replicated Partitions — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Eleven Thousand Scans That Never Arrived — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Data Centre That Went Dark — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Rebalancing And Its Cost — Apache Kafka & Event Streaming