conduktor.io ↗

Kafka Exception AuthorizationException

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

AuthorizationException is a Kafka client-side exception (org.apache.kafka.common.errors.AuthorizationException).

Common Causes

Solutions

Example Stack Trace

org.apache.kafka.common.errors.AuthorizationException: Not authorized to perform this operation (the concrete subclass is usually TopicAuthorizationException, GroupAuthorizationException, or ClusterAuthorizationException)

Diagnostic Commands

# List ACLs on a topic kafka-acls.sh --bootstrap-server localhost:9092 --list --topic <topic>

Related

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

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