Skip to content

Commit

Permalink
Update application.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
SVAdithya authored Oct 21, 2024
1 parent a062305 commit b71f227
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
spring.application.name=KafkaStudy

spring.data.mongodb.uri=mongodb://root:example@localhost:27017/testMongoDb?authSource=admin

mask.headers.list=pwd,pass

management.endpoints.web.exposure.include = *

kafka.regular.topic=my-topic
regular.kafka.autostart=false
reactive.kafka.autostart=true
Expand All @@ -9,6 +16,9 @@ spring.kafka.consumer.key-deserializer=org.apache.kafka.common.serialization.Str
spring.kafka.consumer.value-deserializer=org.apache.kafka.common.serialization.StringDeserializer
spring.kafka.consumer.properties.session.timeout.ms=30000
spring.kafka.consumer.properties.heartbeat.interval.ms=10000
spring.data.mongodb.uri=mongodb://root:example@localhost:27017/testMongoDb?authSource=admin
mask.headers.list=pwd,pass
management.endpoints.web.exposure.include = *
spring.kafka.consumer.ssl.trust-store-location=classpath:client.keystore.jks
spring.kafka.consumer.ssl.trust-store-password=${KAFKA_CERT_PWD}
spring.kafka.consumer.ssl.key-store-location=classpath:client.keystore.jks
spring.kafka.consumer.ssl.key-store-password=${KAFKA_CERT_PWD}
spring.kafka.consumer.ssl.key-password=${KAFKA_CERT_PWD}
spring.kafka.consumer.security.protocol=SSL

0 comments on commit b71f227

Please sign in to comment.