Skip to content

Commit 8b8dc66

Browse files
committed
Renames test to focues on the type of client used
1 parent 8d3f485 commit 8b8dc66

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/basic-with-kafkacat.yml renamed to test/kafkacat.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
kind: ConfigMap
33
metadata:
4-
name: test-basic-with-kafkacat
4+
name: test-kafkacat
55
namespace: test-kafka
66
apiVersion: v1
77
data:
@@ -45,7 +45,7 @@ data:
4545
fi
4646
4747
# get info about this message
48-
kafkacat -Q -b $BOOTSTRAP -t test-basic-with-kafkacat:0:$LAST_TS \
48+
kafkacat -Q -b $BOOTSTRAP -t test-kafkacat:0:$LAST_TS \
4949
-X socket.timeout.ms=600 -X session.timeout.ms=300 -X request.timeout.ms=50 -X metadata.request.timeout.ms=600
5050
[ $? -eq 0 ] || echo "At $(date +%FT%H:%M:%S.%3N) bootstrap broker(s) might be down"
5151
# but don't fail the test; producer and consumer should keep going if there are other brokers
@@ -63,7 +63,7 @@ data:
6363
apiVersion: batch/v1
6464
kind: Job
6565
metadata:
66-
name: test-basic-with-kafkacat
66+
name: test-kafkacat
6767
namespace: test-kafka
6868
spec:
6969
template:
@@ -78,7 +78,7 @@ spec:
7878
- --create
7979
- --if-not-exists
8080
- --topic
81-
- test-basic-with-kafkacat
81+
- test-kafkacat
8282
- --partitions
8383
- "1"
8484
- --replication-factor
@@ -88,7 +88,7 @@ spec:
8888
apiVersion: apps/v1beta2
8989
kind: Deployment
9090
metadata:
91-
name: test-basic-with-kafkacat
91+
name: test-kafkacat
9292
namespace: test-kafka
9393
spec:
9494
replicas: 1
@@ -123,7 +123,7 @@ spec:
123123
echo "--- start $HOSTNAME $(date --iso-8601='ns' -u) ---" >> /shared/produce.tmp
124124
;
125125
tail -f /shared/produce.tmp |
126-
kafkacat -P -b $BOOTSTRAP -t test-basic-with-kafkacat -v -T -d broker -K ':'
126+
kafkacat -P -b $BOOTSTRAP -t test-kafkacat -v -T -d broker -K ':'
127127
;
128128
volumeMounts:
129129
- name: config
@@ -139,7 +139,7 @@ spec:
139139
- /bin/bash
140140
- -cex
141141
- >
142-
kafkacat -C -b $BOOTSTRAP -t test-basic-with-kafkacat -o -1 -f '%T;%k:%p;%o;%s\n' -u -d broker |
142+
kafkacat -C -b $BOOTSTRAP -t test-kafkacat -o -1 -f '%T;%k:%p;%o;%s\n' -u -d broker |
143143
tee /shared/consumed.tmp
144144
;
145145
volumeMounts:
@@ -178,6 +178,6 @@ spec:
178178
volumes:
179179
- name: config
180180
configMap:
181-
name: test-basic-with-kafkacat
181+
name: test-kafkacat
182182
- name: shared
183183
emptyDir: {}

0 commit comments

Comments
 (0)