-
Notifications
You must be signed in to change notification settings - Fork 232
SASL Support #651
Comments
Hi @webe3, thanks for reaching out. Sounds like you're looking for pykafka's SSL support, which is based on constructing an |
Yes, I saw that but it is not clear to me how to do it given what I have to work with. |
It doesn't look to me like pykafka has the mechanism for sasl plain like kafka-python and confluent_kafka do. For example in kafka-python I would pass in the following configurations to create a consumer or producer. configs = { These parameters are described here: https://kafka-python.readthedocs.io/en/master/apidoc/KafkaConsumer.html I don't see any similar parameters for sasl for pykafka. |
Thanks for clarifying, @webe3. Pykafka indeed doesn't have SASL support, only TLS/SSL support at the moment. I've changed the title of this bug to indicate the need for SASL support. If you're interested in contributing a pull request for this feature, I'd be happy to review it. Otherwise, it will go into the issue backlog. |
SASL support would be great. We're having to rewrite an internal project to use kafka-python for the time being due to the lack of SASL support. |
Do we have SASL support enabled for PyKafka? |
No, SASL support is still pending a pull request that adds it. |
Our kafka prod server is moving to GSSAPI SASL (kerberos) authentication, so I would like to know are there any news regarding SASL support by pykafka? |
我们的产品将更换抛弃pykafka,因为支持SASK,求支持~ |
in our products we use kafka and give up pykafka due to the lack of sasl support. |
SASL is required in our project. pykafka is not support. |
I would like to use pykafka to connect to IBM Bluemix Message Hub with is a Kafka implementation. There is a kafka-python example in this thread. https://stackoverflow.com/questions/35294949/can-i-call-the-bluemix-message-hub-service-from-python/40325181#40325181
I also found this for confluent-kafka:
A new Python client
Confluent, the company founded by the creators of Kafka, has released a Python client (https://github.com/confluentinc/confluent-kafka-python). It is built as a thin bindings layer on top of librdkafka and works for both Python 2 and 3.
To use with Message Hub, simply pass these properties in when creating a Producer/Consumer:
Note: The value of ‘ssl.ca.location depends’ on your operating system. For example:
Is there a way to connect using pykafka? If so, how would I do it?
The text was updated successfully, but these errors were encountered: