You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO[0000] Initializing new client
INFO[0000] client/metadata fetching metadata for all topics from broker localhost:9092
FATA[0000] Failed to create producer for server [localhost:9092]: kafka server: The client is not authorized to access this topic.
Kafka Authorizer DEBUG log output:
[2016-08-08 20:22:33,436] DEBUG Principal = User:CN=client,... is Allowed Operation = Describe from host = 127.0.0.1 on resource = Topic:A (kafka.authorizer.logger)
[2016-08-08 20:22:33,436] DEBUG Principal = User:CN=client,... is Denied Operation = Describe from host = 127.0.0.1 on resource = Topic:B (kafka.authorizer.logger)
Problem Description
Sarama seems to try to describe all topics when a producer is created, but if there is one or more topics that it has no access to, the producer creation fails.
The text was updated successfully, but these errors were encountered:
Versions
Sarama Version: 9bb4a68
Kafka Version: 0.10
Go Version: 1.6
Configuration
Kafka configured with ACLs (kafka.security.auth.SimpleAclAuthorizer) based on X.509 cert subject names.
Sarama config:
Logs
(Sarama) log output:
Kafka Authorizer DEBUG log output:
Problem Description
Sarama seems to try to describe all topics when a producer is created, but if there is one or more topics that it has no access to, the producer creation fails.
The text was updated successfully, but these errors were encountered: