1 個回答
- 最新
- 最多得票
- 最多評論
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
已回答 1 個月前
相關內容
- 已提問 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前