KafkaTimeoutError

The kafka-python exception raised when an operation, such as waiting for a send to be acknowledged, takes longer than its time limit.

In more detail

In the broker-loss lesson it shows up when too few replicas remain for an acks=all write, so the request never completes within request_timeout_ms or max_block_ms. A timeout does not prove the write failed, so a retry may create a duplicate unless the producer is idempotent.

Related terms

Taught in

References