File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
kind : ConfigMap
3
3
metadata :
4
- name : basic-produce-consume
4
+ name : basic-with-kafkacat
5
5
namespace : test-kafka
6
6
apiVersion : v1
7
7
data :
@@ -19,16 +19,16 @@ data:
19
19
20
20
unique=$(date -Ins)
21
21
22
- echo "Test $unique" | kafkacat -P -b $BOOTSTRAP -t test-basic-produce-consume -v
23
- kafkacat -C -b $BOOTSTRAP -t test-basic-produce-consume -o -1 -e | grep $unique
22
+ echo "Test $unique" | kafkacat -P -b $BOOTSTRAP -t test-basic-with-kafkacat -v
23
+ kafkacat -C -b $BOOTSTRAP -t test-basic-with-kafkacat -o -1 -e | grep $unique
24
24
25
25
exit 0
26
26
27
27
---
28
28
apiVersion : batch/v1
29
29
kind : Job
30
30
metadata :
31
- name : basic-produce-consume
31
+ name : basic-with-kafkacat
32
32
namespace : test-kafka
33
33
spec :
34
34
template :
43
43
- --create
44
44
- --if-not-exists
45
45
- --topic
46
- - test-basic-produce-consume
46
+ - test-basic-with-kafkacat
47
47
- --partitions
48
48
- " 1"
49
49
- --replication-factor
53
53
apiVersion : apps/v1beta1
54
54
kind : Deployment
55
55
metadata :
56
- name : basic-produce-consume
56
+ name : basic-with-kafkacat
57
57
namespace : test-kafka
58
58
spec :
59
59
replicas : 1
64
64
test-type : readiness
65
65
spec :
66
66
containers :
67
- - name : kafka
67
+ - name : testcase
68
68
# common test images
69
69
# image: solsson/curl@sha256:8b0927b81d10043e70f3e05e33e36fb9b3b0cbfcbccdb9f04fd53f67a270b874
70
70
image : solsson/kafkacat@sha256:1266d140c52cb39bf314b6f22b6d7a01c4c9084781bc779fdfade51214a713a8
@@ -100,4 +100,4 @@ spec:
100
100
volumes :
101
101
- name : config
102
102
configMap :
103
- name : basic-produce-consume
103
+ name : basic-with-kafkacat
You can’t perform that action at this time.
0 commit comments