Skip to content

Commit

Permalink
Scales to 2 brokers + 3 zookeeper instances
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Feb 3, 2018
1 parent e7a8e05 commit 2f3db2c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions kafka/10broker-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ data:
# the brokers.
num.partitions=1
default.replication.factor=3
default.replication.factor=2
min.insync.replicas=2
min.insync.replicas=1
auto.create.topics.enable=true
Expand Down
2 changes: 1 addition & 1 deletion kafka/50kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
matchLabels:
app: kafka
serviceName: "broker"
replicas: 3
replicas: 2
updateStrategy:
type: OnDelete
template:
Expand Down
2 changes: 0 additions & 2 deletions zookeeper/10zookeeper-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ data:
syncLimit=2
server.1=pzoo-0.pzoo:2888:3888:participant
server.2=pzoo-1.pzoo:2888:3888:participant
server.3=pzoo-2.pzoo:2888:3888:participant
server.4=zoo-0.zoo:2888:3888:participant
server.5=zoo-1.zoo:2888:3888:participant
log4j.properties: |-
log4j.rootLogger=INFO, stdout
Expand Down
2 changes: 1 addition & 1 deletion zookeeper/50pzoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
app: zookeeper
storage: persistent
serviceName: "pzoo"
replicas: 3
replicas: 2
updateStrategy:
type: OnDelete
template:
Expand Down
2 changes: 1 addition & 1 deletion zookeeper/51zoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
app: zookeeper
storage: ephemeral
serviceName: "zoo"
replicas: 2
replicas: 1
updateStrategy:
type: OnDelete
template:
Expand Down

0 comments on commit 2f3db2c

Please sign in to comment.