-
Notifications
You must be signed in to change notification settings - Fork 228
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
Add receive batch to receiver #359
Add receive batch to receiver #359
Conversation
@mohamed-gara Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@mohamed-gara Thank you for signing the Contributor License Agreement! |
0f51188
to
9d3b5d0
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.
Just a couple @since
correction.
Otherwise I don't see any problems with this fix.
Thanks
9d3b5d0
to
16ae4fd
Compare
16ae4fd
to
335f8b1
Compare
335f8b1
to
4fd4021
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; please add some documentation for the receiveBatch
method.
https://projectreactor.io/docs/kafka/release/reference/#api-guide-receiver
250be81
to
7e7f903
Compare
This PR is an implementation to resolve #261. I have chosen the name proposed by @serejke here for the new method in KafkaReceiver.
Actually, in our product I use receive() with the bufferTimeout operator. But it is not the best solution to consume a record batch. With the receiveBatch() method batch consumption will be easier.