Sarama: Plans to support SASL/SCRAM authentication?

Created on 16 Feb 2018  路  10Comments  路  Source: Shopify/sarama

Problem Description

Is there anyone working on SASL/SCRAM support?

Related links

http://kafka.apache.org/documentation.html#security_sasl_scram
https://www.cloudkarafka.com/docs-go.html (This doc implies Sarama has no support for SCRAM and suggests confluent-kafka-go instead)

enhancement protocol

Most helpful comment

I would like to have SCRAM authentication too. It's been a part of Kafka for a while now and there are valid reasons to want to have the secret not be plain. Not sure why that comment indicates that SASL/PLAIN is the only one.

btw, the comment indicating that is over 2 years old.

All 10 comments

I am not currently working on this. Per https://github.com/Shopify/sarama/blob/bfaa60f9e0d0b6781a78ed5f01e0426615a5ea13/config.go#L43-L44 the only supported method right now is SASL/PLAIN.

I would like to have SCRAM authentication too. It's been a part of Kafka for a while now and there are valid reasons to want to have the secret not be plain. Not sure why that comment indicates that SASL/PLAIN is the only one.

btw, the comment indicating that is over 2 years old.

Not sure why that comment indicates that SASL/PLAIN is the only one.

It's the only supported SASL option by Sarama right now. There is also SASL/GSSAPI which is again not supported by Sarama.

I would love to have the authentication methods match that which is currently supported by Kafka. I have to rework our security to be able to allow Burrow to be able to communicate with Kafka over PLAINTEXT so it can access the __consumer_offsets but no other topics.

Are there any plans on implementing support for this yet?

I'm not working on this in the foreseeable future. I'm happy to take PRs though.

@eapache would you give some pointer/guidance on how to add this support?

Hi. What's the status of the SASL/SCRAM support?

with scram support now in Sarama will we be seeing support for it in burrow? or is it there already?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicklipple picture nicklipple  路  4Comments

chandradeepak picture chandradeepak  路  3Comments

jinleileiking picture jinleileiking  路  4Comments

dynahcatq picture dynahcatq  路  5Comments

korjavin picture korjavin  路  3Comments