apache / apache/pulsar-client-python

does pulsar python support SASL?

未关闭
#272 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
75
派生
53
PR 合并指标
30 天内没有已合并 PR

描述

auth_config = {
'saslJaasClientSectionName': 'PulsarClient',
'serverType': 'broker',
'kerberosServiceName': 'pulsar',
'useKeyTab': 'true',
'keyTab': 'D:\\user.keytab',
'principal': 'test'
}
client = pulsar.Client('pulsar://127.0.0.1:6650',authentication=pulsar.Authentication(
'org.apache.pulsar.client.impl.auth.AuthenticationSasl',
str(auth_config)
))

and i get

lib\Authentication:190 | Couldn't load auth plugin org.apache.pulsar.client.impl.auth.AuthenticationSasl

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。