From 7a6db730a66cc6ed1487ae907824a843b88721bc Mon Sep 17 00:00:00 2001 From: Subhash-eGov Date: Tue, 21 Jul 2020 16:29:56 +0530 Subject: [PATCH] Kafka issue fix (#21) --- .../src/main/resources/application.properties | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/egov-custom-consumer/src/main/resources/application.properties b/egov-custom-consumer/src/main/resources/application.properties index 5418c62..5e23f45 100644 --- a/egov-custom-consumer/src/main/resources/application.properties +++ b/egov-custom-consumer/src/main/resources/application.properties @@ -3,10 +3,12 @@ server.context-path=/egov-custom-consumer server.servlet.context-path=/egov-custom-consumer # KAFKA SERVER CONFIGURATIONS -kafka.config.bootstrap_server_config=kafka-0.kafka.backbone:9092 +kafka.config.bootstrap_server_config=localhost:9092 + +spring.kafka.consumer.properties.spring.json.use.type.headers=false spring.kafka.consumer.value-deserializer=org.egov.tracer.kafka.deserializer.HashMapDeserializer spring.kafka.consumer.key-deserializer=org.apache.kafka.common.serialization.StringDeserializer -spring.kafka.consumer.group-id=egov-api-gateway-1 +spring.kafka.consumer.group-id=egov-api-gateway spring.kafka.listener.missing-topics-fatal=false