From c201cd3409c2ba3db4ac8c1d69c41a3a3820af69 Mon Sep 17 00:00:00 2001 From: slaventius Date: Wed, 8 Feb 2023 11:32:35 +0300 Subject: [PATCH] * --- cmd/main.go | 2 +- scripts/start.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index a1489fd..4d06f64 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -56,7 +56,7 @@ func start(config *config.Config, srv *server.AuthPostmanServer, cancel context. defer cancel() // - log.Printf("authPostmanServer starting (listening to %s)\n", net.JoinHostPort(config.Kafka.Host, strconv.Itoa(config.Kafka.Port))) + log.Printf("authPostmanServer starting (kafka listening to %s)\n", net.JoinHostPort(config.Kafka.Host, strconv.Itoa(config.Kafka.Port))) // Запускаем прослушивание if err := srv.ReadMessage(0); err != nil { diff --git a/scripts/start.sh b/scripts/start.sh index 3835a91..f31fcd4 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -3,9 +3,9 @@ export SMTP_HOST=smtp.mail.ru export SMTP_PORT=587 export SMTP_SENDER=test3kbot@mail.ru -export SMTP_PASSWORD=eBK5PnnYbNjFpadi8tbR -#export KAFKA_HOST=127.0.0.1 -export KAFKA_HOST=37.143.12.169 +export SMTP_PASSWORD=ip02TsJTEaDTyehpGYQH export KAFKA_PORT=9092 +export KAFKA_HOST=127.0.0.1 +export KAFKA_HOST=37.143.12.169 ./authPostmanService