conduktor.io ↗

Kafka Exception ClusterAuthorizationException

org.apache.kafka.common.errors.ClusterAuthorizationException
Non-retriable Security

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

Common Causes

Solutions

Example Stack Trace

org.apache.kafka.common.errors.ClusterAuthorizationException: Cluster authorization failed.

Diagnostic Commands

# List ACLs for the resource kafka-acls.sh --bootstrap-server localhost:9092 --list --cluster # Look for authorization failures in logs grep 'CLUSTER_AUTHORIZATION_FAILED\|Cluster authorization failed' /var/log/kafka/server.log | tail -20

Related

Protocol error: CLUSTER_AUTHORIZATION_FAILED (code 31)

Related Security exceptions: AuthenticationException · AuthorizationException · AuthorizerNotReadyException · GroupAuthorizationException · IllegalSaslStateException · SaslAuthenticationException · SslAuthenticationException · TopicAuthorizationException

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