Kafka InvalidGroupIdException: Fixing the group.id Error
Hitting InvalidGroupIdException: "you must provide a valid group.id"? Why subscribe() and offset commits require a group.id in Kafka, and the exact fix.
Hitting InvalidGroupIdException: "you must provide a valid group.id"? Why subscribe() and offset commits require a group.id in Kafka, and the exact fix.
Kafka RetriableCommitFailedException on offset commit means a transient commit failure you must retry yourself. Here's what triggers it and how to handle it correctly.
Kafka Streams dies with 'Deserialization exception handler is set to fail upon a deserialization error.' Here's why one bad record kills the thread and how to fix it.
Producer or consumer failing with NotLeaderOrFollowerException (NOT_LEADER_OR_FOLLOWER)? Why stale leader metadata causes it and how to fix it for good.
Kafka InconsistentGroupProtocolException: the group member's supported protocols are incompatible. Why it hits mid-upgrade and how to fix the assignor mismatch.
InvalidTxnStateException means your producer called a transactional API in the wrong state. Here's the state machine, the exact triggers, and the fix.
Kafka's reset-offsets fails with 'Assignments can only be reset if the group is inactive, but the current state is Stable.' Here's why, and the fix.
Kafka InvalidTopicException — 'Topic name is illegal' from bad characters, 249-char limits, or '.'/'_' collisions. The exact rules, root cause, and the fix.
Kafka NotEnoughReplicasException: messages rejected since there are fewer in-sync replicas than required. Fix min.insync.replicas vs acks=all, fast.
Kafka RebalanceInProgressException on commitSync/commitAsync with CooperativeStickyAssignor? Here's why it's not CommitFailedException, and the correct fix.