Created
September 12, 2019 11:39
-
-
Save wpik/3e3c62a6877b47f6673b842307e2a051 to your computer and use it in GitHub Desktop.
Kafka SASL config with spring-cloud-stream kafka-binder
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
| spring: | |
| cloud: | |
| stream: | |
| kafka: | |
| binder: | |
| brokers: kafka-host:9092 | |
| configuration: | |
| sasl: | |
| mechanism: PLAIN | |
| security: | |
| protocol: SASL_PLAINTEXT | |
| jaas: | |
| loginModule: org.apache.kafka.common.security.plain.PlainLoginModule | |
| kafka: | |
| properties: | |
| sasl: | |
| jaas: | |
| config: org.apache.kafka.common.security.plain.PlainLoginModule required username="kafka-user" password="kafka-password"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment