conduktor.io ↗

Kafka Exception InvalidGroupIdException

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

InvalidGroupIdException is a Kafka exception (org.apache.kafka.common.errors.InvalidGroupIdException).

Common Causes

Solutions

Example Stack Trace

org.apache.kafka.common.errors.InvalidGroupIdException: The group id is invalid.

Diagnostic Commands

# List all consumer groups kafka-consumer-groups.sh --bootstrap-server localhost:9092 --list # Look for group ID errors in config grep -E 'InvalidGroupId|group.id' <application-config-file>

Related

Protocol error: INVALID_GROUP_ID (code 24)

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

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