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
回答済み 2ヶ月前
関連するコンテンツ
- 質問済み 6年前
- AWS公式更新しました 1年前