heartbeat.interval.ms

The consumer setting for how often, in milliseconds, the consumer sends a heartbeat to the group coordinator.

In more detail

It must be lower than the session timeout and is usually no more than a third of it, so several heartbeats can be missed before the consumer is declared dead. kafka-python 2.2 defaults to 3000.

Example

KafkaConsumer(session_timeout_ms=15000, heartbeat_interval_ms=5000)

Related terms

Taught in

References