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달 전
관련 콘텐츠
- AWS 공식업데이트됨 3년 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전