aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/resources/application.properties
diff options
context:
space:
mode:
Diffstat (limited to 'aai-resources/src/main/resources/application.properties')
-rw-r--r--aai-resources/src/main/resources/application.properties12
1 files changed, 10 insertions, 2 deletions
diff --git a/aai-resources/src/main/resources/application.properties b/aai-resources/src/main/resources/application.properties
index 3f0e625..3355695 100644
--- a/aai-resources/src/main/resources/application.properties
+++ b/aai-resources/src/main/resources/application.properties
@@ -26,7 +26,7 @@ spring.autoconfigure.exclude=\
spring.jersey.application-path=${schema.uri.base.path}
-spring.profiles.active=production,one-way-ssl,dmaap
+spring.profiles.active=production,one-way-ssl,kafka
#The max number of active threads in this pool
server.jetty.threads.max=200
#The minimum number of threads always kept alive
@@ -56,7 +56,15 @@ null.db.serialization.enabled=true
# JMS bind address host port
jms.bind.address=tcp://localhost:61647
-dmaap.ribbon.listOfServers=localhost:3904
+# dmaap is deprecated and now replaced with kafka
+# dmaap.ribbon.listOfServers=localhost:3904
+spring.kafka.producer.bootstrap-servers=${BOOTSTRAP_SERVERS}
+spring.kafka.producer.properties.security.protocol=SASL_PLAINTEXT
+spring.kafka.producer.properties.sasl.mechanism=SCRAM-SHA-512
+spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer
+spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.StringSerializer
+spring.kafka.producer.properties.sasl.jaas.config = ${JAAS_CONFIG}
+spring.kafka.producer.retries=3
# Schema related attributes for the oxm and edges
# Any additional schema related attributes should start with prefix schema