Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cdc): Add support for SCRAM SASL mechanism #7765

Merged
merged 6 commits into from
Apr 30, 2021
Merged

Conversation

ahsanbarkati
Copy link
Contributor

@ahsanbarkati ahsanbarkati commented Apr 29, 2021

We used to support only the PLAIN mechanism for SASL in cdc-kafka.
This PR adds support for SCRAM-SHA-256 and SCRAM-SHA-512.

We can specify the mechanism by the sasl-mechanism sub flag under the --cdc superflag.

I have tested this change on Amazon MKS.


This change is Reviewable

@ahsanbarkati ahsanbarkati merged commit 8925049 into master Apr 30, 2021
@ahsanbarkati ahsanbarkati deleted the ahsan/sasl branch April 30, 2021 06:29
ahsanbarkati added a commit that referenced this pull request Apr 30, 2021
We used to support only the PLAIN mechanism for SASL in CDC-Kafka.
This commit adds support for SCRAM-SHA-256 and SCRAM-SHA-512.

(cherry picked from commit 8925049)
ahsanbarkati added a commit that referenced this pull request Apr 30, 2021
We used to support only the PLAIN mechanism for SASL in CDC-Kafka.
This commit adds support for SCRAM-SHA-256 and SCRAM-SHA-512.

(cherry picked from commit 8925049)
ahsanbarkati added a commit that referenced this pull request Apr 30, 2021
We used to support only the PLAIN mechanism for SASL in CDC-Kafka.
This commit adds support for SCRAM-SHA-256 and SCRAM-SHA-512.

(cherry picked from commit 8925049)
ahsanbarkati added a commit that referenced this pull request Apr 30, 2021
We used to support only the PLAIN mechanism for SASL in CDC-Kafka.
This commit adds support for SCRAM-SHA-256 and SCRAM-SHA-512.

(cherry picked from commit 8925049)
ahsanbarkati added a commit that referenced this pull request Apr 30, 2021
We used to support only the PLAIN mechanism for SASL in CDC-Kafka.
This commit adds support for SCRAM-SHA-256 and SCRAM-SHA-512.

(cherry picked from commit 8925049)
ahsanbarkati added a commit that referenced this pull request Apr 30, 2021
We used to support only the PLAIN mechanism for SASL in CDC-Kafka.
This commit adds support for SCRAM-SHA-256 and SCRAM-SHA-512.

(cherry picked from commit 8925049)
danielmai added a commit to dgraph-io/dgraph-docs that referenced this pull request Jul 14, 2021
Documents the new option sasl-mechanism under the kafka superflag.

This change was introduced in Dgraph v21.03.1 with PR dgraph-io/dgraph#7765.

Example:

    --kafka="...; sasl-mechanism=SCRAM-SHA-512"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants