修改代码支持ZK-Kerberos认证

This commit is contained in:
luhe
2022-09-21 15:54:30 +08:00
committed by EricZeng
parent 045f65204b
commit b4580277a9

View File

@@ -132,7 +132,9 @@ public class KafkaAdminZKClient extends AbstractClusterLoadedChangedHandler impl
kafkaZkClient = KafkaZkClient.apply(
zookeeperAddress,
false,
// false,
// 添加支持zk的Kerberos认证
true,
Constant.DEFAULT_SESSION_TIMEOUT_UNIT_MS,
Constant.DEFAULT_SESSION_TIMEOUT_UNIT_MS,
5,