File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : batch/v1
2
+ kind : Job
3
+ metadata :
4
+ name : topic-create-event-kube
5
+ namespace : kafka
6
+ spec :
7
+ template :
8
+ spec :
9
+ containers :
10
+ - name : topic-create
11
+ image : solsson/kafka:2.1.0@sha256:ac3f06d87d45c7be727863f31e79fbfdcb9c610b51ba9cf03c75a95d602f15e1
12
+ command :
13
+ - ./bin/kafka-topics.sh
14
+ - --zookeeper
15
+ - zookeeper.kafka.svc.cluster.local:2181
16
+ - --create
17
+ - --if-not-exists
18
+ - --topic
19
+ - ops.kube-events.stream.json
20
+ - --partitions
21
+ - " 12"
22
+ - --replication-factor
23
+ - " 2"
24
+ resources :
25
+ limits :
26
+ cpu : 200m
27
+ memory : 100Mi
28
+ restartPolicy : Never
Original file line number Diff line number Diff line change 62
62
63
63
min.insync.replicas=2
64
64
65
- auto.create.topics.enable=true
65
+ auto.create.topics.enable=false
66
66
67
67
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
68
68
# This value is recommended to be increased for installations with data dirs located in RAID array.
You can’t perform that action at this time.
0 commit comments