Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Change port name to KAFKA_BROKER_PORT (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbdcos authored Mar 27, 2017
1 parent 2aba638 commit 5cf293e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/dist/server.properties.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}}
Expand Down
2 changes: 1 addition & 1 deletion src/main/dist/svc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pods:
ports:
broker:
port: {{BROKER_PORT}}
env-key: KAFKA_PORT
env-key: KAFKA_BROKER_PORT
vip:
prefix: broker
port: 9092
Expand Down

0 comments on commit 5cf293e

Please sign in to comment.