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 e50b8ea commit e059690Copy full SHA for e059690
kafka/test/produce-consume.yml
@@ -74,6 +74,9 @@ spec:
74
env:
75
- name: BOOTSTRAP
76
value: bootstrap.kafka:9092
77
+ - name: ACKS
78
+ # -1 means use brokers' min.insync.replicas
79
+ value: "-1"
80
command:
81
- /bin/bash
82
- -cex
@@ -83,7 +86,7 @@ spec:
83
86
./bin/kafka-topics.sh --zookeeper zookeeper.kafka:2181 --describe --topic test-produce-consume
84
87
;
85
88
tail -f /shared/produce.tmp |
- ./bin/kafka-console-producer.sh --broker-list $BOOTSTRAP --topic test-produce-consume
89
+ ./bin/kafka-console-producer.sh --broker-list $BOOTSTRAP --topic test-produce-consume --producer-property "acks=$ACKS"
90
91
volumeMounts:
92
- name: config
0 commit comments