Skip to content

Commit

Permalink
Fix: Issues with kafka borkers
Browse files Browse the repository at this point in the history
  • Loading branch information
ChakshuGautam committed Mar 28, 2022
1 parent f5093bc commit 30768c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/helpers/kafkaUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ if (process.env.ENV === "dev") {
} else {
let brokers = process.env.KAFKA_HOST;
if (process.env.KAFKA_HOST.includes(process.env.KAFKA_PORT)) {
broker = brokers.split(",");
console.log("Kafka brokers have PORT");
} else {
brokers = process.env.KAFKA_HOST.split(",").map(
Expand Down

0 comments on commit 30768c9

Please sign in to comment.