Repository navigation
Async bulk / batch poll #58
Answered
by
astubbs
raphaelauv
asked this question in
Ideas
|
Would it be possible for a bulk poll ? exemple : parallelConsumer.polls(records -> records.forEach( record ->
log.info("Concurrently processing a record: {}", record)
)
);thank to this interface void polls(Consumer<ConsumerRecords<K, V>> usersVoidConsumptionFunction);I currently have a consumer that for each result of poll make a single async bulk load ( pipelining operation ) to redis ( with redisson lib ) so my flow is Thank you |
Answered by
astubbs
Dec 17, 2020
Replies: 3 comments 2 replies
Answer selected by
raphaelauv
|
Do you have thoughts on how you might like to control the quantity of records in the batch? Would a set max quantity be enough? |
0 replies
|
By default it could use the value of (for a set max) of the current consumer ConsumerConfig.MAX_POLL_RECORDS_CONFIG ? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, absolutely! See issue #18 and POC #19
Please vote on the issue :)