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

Kafka scaler fix for SASL plaintext auth #544

Merged
merged 1 commit into from
Jan 16, 2020

Conversation

abhirockzz
Copy link
Contributor

For Issue #543.

Updated the Kafka scaler to add config parameters for Sarama client corresponding to SASL plaintext auth mode

@ahmelsayed ahmelsayed merged commit 15e44ff into kedacore:master Jan 16, 2020
@@ -211,6 +211,11 @@ func getKafkaClients(metadata kafkaMetadata) (sarama.Client, sarama.ClusterAdmin
config.Net.SASL.Mechanism = sarama.SASLMechanism(sarama.SASLTypeSCRAMSHA512)
}

if metadata.authMode == kafkaAuthModeForSaslPlaintext {
config.Net.SASL.Mechanism = sarama.SASLTypePlaintext
config.Net.TLS.Enable = true

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If authMode is set to sasl_plaintext then why enabling TLS?

preflightsiren pushed a commit to preflightsiren/keda that referenced this pull request Nov 7, 2021
Signed-off-by: Dimitris Tsioumas <dtsioumas@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants