From 8ff9734707cd11c6543e77f05c31089c8771971d Mon Sep 17 00:00:00 2001 From: Dilraj Singh Date: Fri, 23 Oct 2020 23:18:17 -0400 Subject: [PATCH 1/2] Update sample.env with updated variable name --- sample.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample.env b/sample.env index 915a285..761435c 100644 --- a/sample.env +++ b/sample.env @@ -1,2 +1,2 @@ KAFKA_HOST= 'localhost:9092' -KAFKA_TOPIC= 'kafka-example-topic' +KAFKA_TOPIC_NAME= 'kafka-example-topic' From 4e1ceda494da41fd1246d3781a96225bdddb4ec1 Mon Sep 17 00:00:00 2001 From: Dilraj Singh Date: Fri, 23 Oct 2020 23:19:31 -0400 Subject: [PATCH 2/2] Update KAFKA_TOPIC to KAFKA_TOPIC_NAME in config --- config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.js b/config.js index d49ec76..886e500 100644 --- a/config.js +++ b/config.js @@ -2,7 +2,7 @@ require('dotenv').config(); const config = { KafkaHost:process.env.KAFKA_HOST, - KafkaTopic: process.env.KAFKA_TOPIC + KafkaTopic: process.env.KAFKA_TOPIC_NAME }; module.exports = config;