aboutsummaryrefslogtreecommitdiff
path: root/test/11topic-create-test1.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/11topic-create-test1.yml')
-rw-r--r--test/11topic-create-test1.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/11topic-create-test1.yml b/test/11topic-create-test1.yml
new file mode 100644
index 0000000..fdb805e
--- /dev/null
+++ b/test/11topic-create-test1.yml
@@ -0,0 +1,25 @@
+apiVersion: batch/v1
+kind: Job
+metadata:
+ name: topic-create-test1
+ namespace: kafka
+spec:
+ template:
+ metadata:
+ name: topic-create-test1
+ spec:
+ containers:
+ - name: kafka
+ image: solsson/kafka:0.10.0.1
+ command:
+ - ./bin/kafka-topics.sh
+ - --zookeeper
+ - zookeeper:2181
+ - --create
+ - --topic
+ - test1
+ - --partitions
+ - "1"
+ - --replication-factor
+ - "1"
+ restartPolicy: Never