Kafka InvalidTopicException: Why It Happens and How to Fix It
Kafka InvalidTopicException — 'Topic name is illegal' from bad characters, 249-char limits, or '.'/'_' collisions. The exact rules, root cause, 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.
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 logs 'Error registering AppInfo mbean javax.management.InstanceAlreadyExistsException'. Here's what a duplicate client.id really breaks and how to fix it.
Kafka producer throws 'Timeout expired after 60000ms while awaiting InitProducerId' and initTransactions() hangs on startup. Here's the real root cause and the fix.
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.
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.
Fix Kafka's "Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available" — the Docker advertised.listeners fix.