From 1c430f4552e7fbc1492e0e4cfbfbff4d67922d8e Mon Sep 17 00:00:00 2001 From: Till Faelligen Date: Sun, 30 May 2021 15:11:28 +0200 Subject: [PATCH] Fix addresses --- setup/config/config_kafka.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/config/config_kafka.go b/setup/config/config_kafka.go index d21e6c57e..dce81e349 100644 --- a/setup/config/config_kafka.go +++ b/setup/config/config_kafka.go @@ -51,9 +51,9 @@ func (c *Kafka) Defaults() { c.Database.Defaults() if c.UseNATS { c.UseNaffka = false - c.Addresses = []string{"localhost:2181"} - } else { c.Addresses = []string{"nats://127.0.0.1:4222"} + } else { + c.Addresses = []string{"localhost:2181"} } c.Database.ConnectionString = DataSource("file:naffka.db") c.TopicPrefix = "Dendrite"