conduktor.io ↗

Kafka Exception GroupMaxSizeReachedException

org.apache.kafka.common.errors.GroupMaxSizeReachedException
Non-retriable Consumer

Indicates that a group is already at its configured maximum capacity and cannot accommodate more members

Common Causes

Solutions

Example Stack Trace

org.apache.kafka.common.errors.GroupMaxSizeReachedException: The group has reached its maximum size.

Diagnostic Commands

# Describe consumer group offsets and lag kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group <group-id> # Check consumer group max size settings kafka-configs.sh --bootstrap-server localhost:9092 --entity-type brokers --entity-default --describe | grep -E 'group.max.size|group.consumer.max.size'

Related

Protocol error: GROUP_MAX_SIZE_REACHED (code 81)

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

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