0
点赞
收藏
分享

微信扫一扫

信息论基础第三章阅读笔记

Kafka 开启SASL/SCRAM认证 及 ACL授权(二)ACL。

官网地址:https://kafka.apache.org/

kafka authentorization:https://docs.confluent.io/platform/current/kafka/authorization.html

在这里插入图片描述
一、开启ZK ACL(可选,内网环境,用户无机器访问权限时)
给kafka meta都加上zk的acl,默认是world,即任何人可访问。

zk acl详见:https://www.cnblogs.com/dalianpai/p/12748144.html

执行已有kafka meta的迁移
vim kafka/bin/zookeeper-security-migration.sh

# sasl
cur_dir=`dirname $0`
export KAFKA_OPTS
举报

相关推荐

0 条评论