Kafka InconsistentGroupProtocolException: Cause and Fix
Kafka InconsistentGroupProtocolException: the group member's supported protocols are incompatible. Why it hits mid-upgrade and how to fix the assignor mismatch.
Java is both a programming language and a platform. Java's WRITE ONCE and RUN ANYWHERE is just too strong. Java is sleeker, faster, and much more powerful today.
Kafka InconsistentGroupProtocolException: the group member's supported protocols are incompatible. Why it hits mid-upgrade and how to fix the assignor mismatch.
FencedInstanceIdException means two live consumers share one group.instance.id. Here's why the broker fences the old one, and how to fix it for good.
KafkaException: Failed to construct kafka consumer — how to triage every common cause (deserializer class, classpath, DNS, JAAS, SSL) and fix each one fast.
Kafka broker won't start: 'Failed to acquire lock on file .lock ... A Kafka instance in another process is using this directory.' Why it happens and how to fix it.
Kafka CorruptRecordException: Record is corrupt (stored crc != computed crc). Why the CRC check fails, how to recover the partition, and how to stop it recurring.
IllegalStateException: Consumer is not subscribed to any topics or assigned any partitions — why poll() throws it, the subscribe/assign contract, and the fix.
Hitting ConcurrentModificationException: KafkaConsumer is not safe for multi-threaded access? Here's why the thread guard fires and the correct fix.
Kafka Connect source task logs 'Failed to flush, timed out while waiting for producer to flush outstanding N messages'. Here's the real cause and the fix.
Kafka Connect throws 'Failed to find any class that implements Connector' when plugin.path is wrong or classloader isolation hides your JAR. Here's the fix.
Kafka SerializationException: Can't convert value of class X to StringSerializer? The ClassCastException behind it, the config fix, and the safer design.