Skip to content

Commit

Permalink
Fix : Fix kafka issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish-egov committed Mar 18, 2024
1 parent bb79eae commit f543163
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utilities/egov-bff/src/server/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const config = {
KAFKA_BROKER_HOST:
// "localhost:9092" ||
// "localhost:9093" ||
process.env.KAFKA_BROKER_HOST || "kafka-v2.kafka-cluster:9092",
"kafka-v2.kafka-cluster:9092",
KAFKA_SAVE_CAMPAIGN_DETAILS_TOPIC:
process.env.KAFKA_SAVE_CAMPAIGN_DETAILS_TOPIC || "save-campaign-details",
KAFKA_UPDATE_CAMPAIGN_DETAILS_TOPIC:
Expand All @@ -34,7 +34,7 @@ const config = {
hierarchyType: "NITISH",
DB_USER:
process.env.DB_USER || "postgres",
DB_HOST: process.env.DB_HOST?.split(':')[0] || "localhost",
DB_HOST: process.env.DB_HOST || "localhost",
DB_NAME: process.env.DB_NAME || "postgres",
DB_PASSWORD: process.env.DB_PASSWORD || "postgres",
DB_PORT: process.env.DB_PORT || "5432",
Expand Down

0 comments on commit f543163

Please sign in to comment.