pulsar-client-python icon indicating copy to clipboard operation
pulsar-client-python copied to clipboard

does pulsar python support SASL?

Open studyandstudy opened this issue 5 days ago • 0 comments
trafficstars

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

studyandstudy avatar Nov 15 '25 08:11 studyandstudy