From 6363906edd29b97ec7b25e21fd158cf3a0fc9482 Mon Sep 17 00:00:00 2001 From: 0xevolve Date: Wed, 13 Nov 2024 21:57:50 +0700 Subject: [PATCH] fix: compose dev --- README.md | 2 +- compose.dev.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1aba2674..0079be4a 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ export TOPIC="pragma-data" export HOST="0.0.0.0" export PORT=3000 export METRICS_PORT=8080 -export KAFKA_BROKERS="0.0.0.0:9092" +export KAFKA_BROKERS=localhost:29092 export AXIOM_TOKEN=xaat- # OPTIONAL ``` diff --git a/compose.dev.yaml b/compose.dev.yaml index f5b49447..25abf54d 100644 --- a/compose.dev.yaml +++ b/compose.dev.yaml @@ -153,7 +153,7 @@ services: environment: KAFKA_BROKER_ID: 1 KAFKA_ZOOKEEPER_CONNECT: pragma-zookeeper:2181 - KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://pragma-kafka:9092,PLAINTEXT_E://pragma-kafka:29092 + KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://pragma-kafka:9092,PLAINTEXT_E://localhost:29092 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT,PLAINTEXT_E:PLAINTEXT KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT #KAFKA_SOCKET_REQUEST_MAX_BYTES: "10000000"