From 5cf293e37a329d34ca02c1c60b5191963dbab821 Mon Sep 17 00:00:00 2001 From: Mehmet Date: Mon, 27 Mar 2017 16:54:34 -0700 Subject: [PATCH] Change port name to KAFKA_BROKER_PORT (#354) --- src/main/dist/server.properties.mustache | 4 ++-- src/main/dist/svc.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/dist/server.properties.mustache b/src/main/dist/server.properties.mustache index 4010a4e6..42c10b82 100644 --- a/src/main/dist/server.properties.mustache +++ b/src/main/dist/server.properties.mustache @@ -27,7 +27,7 @@ broker.id={{POD_INSTANCE_INDEX}} # listeners = security_protocol://host_name:port # EXAMPLE: # listeners = PLAINTEXT://your.host.name:9092 -listeners=PLAINTEXT://:{{KAFKA_PORT}} +listeners=PLAINTEXT://:{{KAFKA_BROKER_PORT}} # Hostname and port the broker will advertise to producers and consumers. If not set, # it uses the value for "listeners" if configured. Otherwise, it will use the value @@ -127,7 +127,7 @@ external.kafka.statsd.metrics.exclude_regex= advertised.host.name={{LIBPROCESS_IP}} {{/KAFKA_ADVERTISE_HOST}} -port={{KAFKA_PORT}} +port={{KAFKA_BROKER_PORT}} auto.create.topics.enable={{KAFKA_AUTO_CREATE_TOPICS_ENABLE}} auto.leader.rebalance.enable={{KAFKA_AUTO_LEADER_REBALANCE_ENABLE}} diff --git a/src/main/dist/svc.yml b/src/main/dist/svc.yml index 5b3566ed..66366a19 100644 --- a/src/main/dist/svc.yml +++ b/src/main/dist/svc.yml @@ -18,7 +18,7 @@ pods: ports: broker: port: {{BROKER_PORT}} - env-key: KAFKA_PORT + env-key: KAFKA_BROKER_PORT vip: prefix: broker port: 9092