Skip to content

Commit

Permalink
Removes explicit topic creation from standard tests
Browse files Browse the repository at this point in the history
which means we get the default number of replicas from broker config

for #116
  • Loading branch information
solsson committed Jan 9, 2018
1 parent bbed23e commit 7a58284
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 50 deletions.
25 changes: 0 additions & 25 deletions kafka/test/kafkacat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,31 +62,6 @@ data:
exit 0
---
apiVersion: batch/v1
kind: Job
metadata:
name: topic-test-kafkacat
namespace: test-kafka
spec:
template:
spec:
containers:
- name: topic-create
image: solsson/kafka:1.0.0@sha256:17fdf1637426f45c93c65826670542e36b9f3394ede1cb61885c6a4befa8f72d
command:
- ./bin/kafka-topics.sh
- --zookeeper
- zookeeper.kafka.svc.cluster.local:2181
- --create
- --if-not-exists
- --topic
- test-kafkacat
- --partitions
- "1"
- --replication-factor
- "2"
restartPolicy: Never
---
apiVersion: apps/v1beta2
kind: ReplicaSet
metadata:
Expand Down
25 changes: 0 additions & 25 deletions kafka/test/produce-consume.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,31 +45,6 @@ data:
exit 0
---
apiVersion: batch/v1
kind: Job
metadata:
name: topic-test-produce-consume
namespace: test-kafka
spec:
template:
spec:
containers:
- name: topic-create
image: solsson/kafka:1.0.0@sha256:17fdf1637426f45c93c65826670542e36b9f3394ede1cb61885c6a4befa8f72d
command:
- ./bin/kafka-topics.sh
- --zookeeper
- zookeeper.kafka.svc.cluster.local:2181
- --create
- --if-not-exists
- --topic
- test-produce-consume
- --partitions
- "1"
- --replication-factor
- "2"
restartPolicy: Never
---
apiVersion: apps/v1beta2
kind: ReplicaSet
metadata:
Expand Down

0 comments on commit 7a58284

Please sign in to comment.