Created
January 17, 2020 13:24
-
-
Save j-tim/1497c64a1a1e679141039d2c9b9d5e48 to your computer and use it in GitHub Desktop.
Spring Boot / Spring Kafka Confluent Cloud consumer configuration
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: | |
kafka: | |
bootstrap-servers: ${CLUSTER_BOOTSTRAP_SERVERS} | |
properties: | |
ssl.endpoint.identification.algorithm: https | |
sasl.mechanism: PLAIN | |
request.timeout.ms: 20000 | |
security.protocol: SASL_SSL | |
retry.backoff.ms: 500 | |
sasl.jaas.config: org.apache.kafka.common.security.plain.PlainLoginModule required username='${CLUSTER_API_KEY}' password='${CLUSTER_API_SECRET}'; | |
# Schema Registry specific settings | |
schema.registry.url: ${SR_URL} | |
basic.auth.credentials.source: USER_INFO | |
schema.registry.basic.auth.user.info: ${SR_API_KEY}:${SR_API_SECRET} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment