-
Notifications
You must be signed in to change notification settings - Fork 641
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
KREST-8943 Add an integration test with multiple consumers in parallel. #1114
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Left some comments.
kafka-rest/src/test/java/io/confluent/kafkarest/integration/ConsumerJsonTest.java
Show resolved
Hide resolved
kafka-rest/src/test/java/io/confluent/kafkarest/integration/ConsumerJsonTest.java
Outdated
Show resolved
Hide resolved
10dfec9
to
f17ed32
Compare
seems to be failing. Has this been failing consistently? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They @msn-tldr - there's a failing test, has it been failing consistently?
This test will setup 2 consumers, each subscribed to the same topic, and that do multiple consumes(GET on /records/) in parallel.
ee049d2
to
cb58f0f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
1, | ||
consumer1Done, | ||
consumer1ReadyForConsumeLoop, | ||
consumer0ReadyForConsumeLoop /* otherConsumerReadyForConsumeLoop */)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nit] Do we really need those comments?
Versions.KAFKA_V2_JSON_JSON, | ||
Versions.KAFKA_V2_JSON_JSON, | ||
jsonConsumerRecordType, | ||
/* converter= */ null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nit] Same as below :)
This test will setup 2 consumers, each subscribed to the same topic, and that do multiple consumes(GET on /records/) in parallel.