Skip to content

Conversation

heldertsantos
Copy link

SASL_SCRAM authentication is not working, it's necessary to also add the KAFKA_SSL_CA_CERT_FILE line to the kafkaSaslMechanism if.

}

kafkaConfig["security.protocol"] = kafkaSecurityProtocol
kafkaConfig["ssl.ca.location"] = kafkaSslCACertFile // CA certificate file for verifying the broker's certificate.
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for your contribution @heldertsantos. Are you sure this works? I think you should also include this new environment var in config.go, here https://github.com/Telefonica/prometheus-kafka-adapter/blob/d1cbd70c213248b3597adbdd4d2ddbf6173b47bd/config.go#L111-L113= so the var kafkaSslCACertFile gets populated.

Copy link
Member

Choose a reason for hiding this comment

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

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.

2 participants