Skip to content

Commit 84231e1

Browse files
✨ feat: KeyStore 환경 변수 삭제
1 parent 79860c8 commit 84231e1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/main/java/org/example/kafkapost/common/config/KafkaConsumerConfig.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ public class KafkaConsumerConfig {
3838
@Value("${spring.kafka.properties.ssl.truststore.password}")
3939
private String truststorePassword;
4040

41-
@Value("${spring.kafka.properties.ssl.keystore.location}")
42-
private String keystoreLocation;
43-
44-
@Value("${spring.kafka.properties.ssl.keystore.password}")
45-
private String keystorePassword;
46-
4741
@Bean
4842
public ConsumerFactory<String, String> consumerFactory() {
4943
Map<String, Object> props = new HashMap<>();
@@ -56,8 +50,6 @@ public ConsumerFactory<String, String> consumerFactory() {
5650
props.put("sasl.jaas.config", saslJaasConfig);
5751
props.put("ssl.truststore.location", truststoreLocation);
5852
props.put("ssl.truststore.password", truststorePassword);
59-
props.put("ssl.keystore.location", keystoreLocation);
60-
props.put("ssl.keystore.password", keystorePassword);
6153

6254
return new DefaultKafkaConsumerFactory<>(props);
6355
}

0 commit comments

Comments
 (0)