Skip to content

Commit 41347fe

Browse files
committed
Minimizes the cluster for use with for example Minikube
1 parent fe25fb9 commit 41347fe

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

50kafka.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
namespace: kafka
66
spec:
77
serviceName: "broker"
8-
replicas: 3
8+
replicas: 1
99
template:
1010
metadata:
1111
labels:

test/12topic-create-test2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- --partitions
2222
- "1"
2323
- --replication-factor
24-
- "3"
24+
- "1"
2525
- --config
26-
- min.insync.replicas=2
26+
- min.insync.replicas=1
2727
restartPolicy: Never

zookeeper/10zookeeper-config.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ data:
2121
initLimit=5
2222
syncLimit=2
2323
server.1=pzoo-0.pzoo:2888:3888:participant
24-
server.2=pzoo-1.pzoo:2888:3888:participant
25-
server.3=pzoo-2.pzoo:2888:3888:participant
26-
server.4=zoo-0.zoo:2888:3888:participant
27-
server.5=zoo-1.zoo:2888:3888:participant
2824
2925
log4j.properties: |-
3026
log4j.rootLogger=INFO, stdout

zookeeper/50pzoo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
namespace: kafka
66
spec:
77
serviceName: "pzoo"
8-
replicas: 3
8+
replicas: 1
99
template:
1010
metadata:
1111
labels:

zookeeper/51zoo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
namespace: kafka
66
spec:
77
serviceName: "zoo"
8-
replicas: 2
8+
replicas: 0
99
template:
1010
metadata:
1111
labels:

0 commit comments

Comments
 (0)