Skip to content

does pulsar python support SASL? #272

Description

@studyandstudy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions