Merge pull request #608 from luhea/dev_feature_zk_kerberos

Add zk supported kerberos
This commit is contained in:
EricZeng
2022-10-08 16:11:37 +08:00
committed by GitHub
6 changed files with 50 additions and 1 deletions

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,