-
-
Save mat-work/55ee96ee8c0172cb8a3c4178ca71f1f5 to your computer and use it in GitHub Desktop.
SpringBoot Kafka producer scram-sha authentication #spring #kafka
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kafka configuration properties for SCRAM-SHA-512 authentication and TLS transport. | |
spring.kafka.producer.bootstrap-servers=scram-cluster-kafka-bootstrap-kafka-test.apps.kubernetes.domain.com:443 | |
spring.kafka.producer.properties.ssl.truststore.location=/Users/lbroudou/Development/kafka-test/scram-cluster-ca.p12 | |
spring.kafka.producer.properties.ssl.truststore.password=LoUk0HtOd8tD | |
spring.kafka.producer.properties.ssl.truststore.type=PKCS12 | |
spring.kafka.producer.properties.security.protocol=SASL_SSL | |
spring.kafka.producer.properties.sasl.mechanism=SCRAM-SHA-512 | |
spring.kafka.producer.properties.sasl.jaas.config=org.apache.kafka.common.security.scram.ScramLoginModule required username="scram-user" password="tDtDCT3pYKE5"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment