Kafka SSL Handshake Failed: PKIX and Hostname Fixes
Fix org.apache.kafka.common.errors.SslAuthenticationException: SSL handshake failed — PKIX path errors, SAN mismatches, and listener protocol mixups fast.
Fix org.apache.kafka.common.errors.SslAuthenticationException: SSL handshake failed — PKIX path errors, SAN mismatches, and listener protocol mixups fast.
Getting SaslAuthenticationException: Authentication failed in Kafka? Fix invalid SASL credentials, JAAS config, and missing SCRAM users with working examples.
KafkaException: Failed to construct kafka consumer — how to triage every common cause (deserializer class, classpath, DNS, JAAS, SSL) and fix each one fast.
Fix kafka.common.InconsistentClusterIdException: Cluster ID doesn't match stored clusterId in meta.properties — the Docker volume cause and the real fix.
Producer or consumer failing with NotLeaderOrFollowerException (NOT_LEADER_OR_FOLLOWER)? Why stale leader metadata causes it and how to fix it for good.
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.
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.
Kafka Connect task killed with 'uncaught and unrecoverable exception'? It's usually a converter poison pill. Here's the DataException root cause, DLQ fix, and design.
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.