Created
January 16, 2020 17:15
-
-
Save cvicens/37eecd91fb1537ec4cad8cbaab288d30 to your computer and use it in GitHub Desktop.
This file contains 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
package com.redhat.his.service; | |
import ... | |
@Configuration | |
public class KafkaConfig { | |
@Value("${kafka.bootstrap-servers}") | |
private String kafkaBrokers; | |
@Value("${kafka.clientId}") | |
private String clientId; | |
@Value("${kafka.groupId}") | |
private String groupId; | |
@Value("${kafka.topic}") | |
private String topicName; | |
@Value("${kafka.security.protocol}") | |
private String securityProtocol; | |
@Value("${kafka.ssl.truststore.location}") | |
private String sslTruststoreLocation; | |
@Value("${kafka.ssl.truststore.password}") | |
private String sslTruststorePassword; | |
@Value("${kafka.ssl.keystore.location}") | |
private String sslKeystoreLocation; | |
@Value("${kafka.ssl.keystore.password}") | |
private String sslKeystorePassword; | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment