enable acl switch

This commit is contained in:
许晓东
2021-09-08 16:45:59 +08:00
parent 6cd87643c3
commit 8a76f226a1
9 changed files with 137 additions and 13 deletions

View File

@@ -9,6 +9,8 @@ kafka:
# kafka broker地址多个以逗号分隔
bootstrap-server: 'localhost:9092'
request-timeout-ms: 60000
# 服务端是否启用acl如果不启用下面的几项都忽略即可
enable-acl: true
security-protocol: SASL_PLAINTEXT
sasl-mechanism: SCRAM-SHA-256
# 超级管理员用户名在broker上已经配置为超级管理员