1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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
beantwortet vor 2 Monaten
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr