conduktor.io ↗

Kafka Exception CoordinatorLoadInProgressException

org.apache.kafka.common.errors.CoordinatorLoadInProgressException
Retriable Consumer

In the context of the group coordinator, the broker returns this error code for any coordinator request if it is still loading the group metadata (e.g. after a leader change for that group metadata topic partition). In the context of the transactional coordinator, this error will be returned if there is a pending transactional request with the same transactional id, or if the transaction cache is currently being populated from the transaction log.

Common Causes

Solutions

Example Stack Trace

org.apache.kafka.common.errors.CoordinatorLoadInProgressException: The coordinator is loading and hence can't process requests.

Diagnostic Commands

# Look for coordinator loading events in logs grep -E 'Loading offsets|Finished loading offsets|CoordinatorLoadInProgress' /var/log/kafka/server.log | tail -20 # List all consumer groups kafka-consumer-groups.sh --bootstrap-server localhost:9092 --list 2>&1 | head -5

Related

Protocol error: COORDINATOR_LOAD_IN_PROGRESS (code 14)

Related Consumer exceptions: CommitFailedException · CoordinatorNotAvailableException · FencedInstanceIdException · FencedMemberEpochException · GroupMaxSizeReachedException · IllegalGenerationException · InvalidGroupIdException · InvalidOffsetException

Hitting CoordinatorLoadInProgressException in production? Conduktor Console gives you real-time visibility into clients, consumer groups, and broker health. Browse every Kafka exception or protocol error code.