Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set internal replication factors to match default and min.insync.replicas #140

Merged
merged 9 commits into from
Feb 3, 2018
Prev Previous commit
Next Next commit
Updates the basic kafkacat test to use a consumer group of size 1
  • Loading branch information
solsson committed Feb 2, 2018
commit e5046b197ecd88041fa71ea45bdfdb488e630d7c
5 changes: 4 additions & 1 deletion kafka/test/kafkacat.yml
Original file line number Diff line number Diff line change
@@ -91,6 +91,7 @@ metadata:
name: kafkacat
namespace: test-kafka
spec:
# Note that this test sets a consumer group, but asserts assume that the tests gets its own messages
replicas: 1
selector:
matchLabels:
@@ -133,11 +134,13 @@ spec:
env:
- name: BOOTSTRAP
value: bootstrap.kafka:9092
- name: CONSUMER_GROUP_ID
value: test-kafkacat-group
command:
- /bin/bash
- -cex
- >
kafkacat -C -b $BOOTSTRAP -t test-kafkacat -o -1 -f '%T;%k:%p;%o;%s\n' -u -d broker |
kafkacat -b $BOOTSTRAP -G $CONSUMER_GROUP_ID test-kafkacat -o -1 -f '%T;%k:%p;%o;%s\n' -u -d broker |
tee /shared/consumed.tmp
;
volumeMounts: