We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9e7b8a commit e4c5179Copy full SHA for e4c5179
addon-events/events-kube-kafka.yml
@@ -28,7 +28,7 @@ spec:
28
value: ops-kube-events-all-json-001
29
command:
30
- /bin/bash
31
- - -ec
+ - -c
32
# curl errors will go to kafka, kafkacat errors will got to log
33
- >
34
echo "Started at $(date -u +%FT%TZ) producing to $TOPIC"
@@ -46,3 +46,13 @@ spec:
46
-z snappy
47
-v
48
-d broker,topic
49
+ ;
50
+ echo "Last message on topic:"
51
52
+ kafkacat
53
+ -b $BOOTSTRAP
54
+ -t $TOPIC
55
+ -C
56
+ -o -1
57
+ -c 1
58
+ -z snappy
0 commit comments