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
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