1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
It seems like you've changed allow.everyone.if.no.acl.found
to false
.
If that's the case, then you won't have access with SCRAM auth method until you enable ACLs. So, you need to run kafka-acls command and add permissions to the user you use to read topics, or write...
For example, you will need to use a user that already has permissions to set up ACLs, alternatively, you can use unauthenticated method, or zookeeper instead of bootstrap servers, so authentication is not checked:
kafka/bin/kafka-acls.sh --bootstrap-server msk:9096 \
--command-config adminclient-configs.conf \
--add \
--allow-principal User:boris \
--allow-principal User:ed \
--operation read \
--operation write \
--topic my-topic
répondu il y a un mois
Contenus pertinents
- Réponse acceptéedemandé il y a un an
- demandé il y a 10 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an