rust-rdkafka icon indicating copy to clipboard operation
rust-rdkafka copied to clipboard

Question - Accomulate N messages in T duration or timeout.

Open ajosecueto opened this issue 1 year ago • 1 comments

I would like use poll with a specified timeout but i would like to get N number of messages per call. And poll other messages in the next call.

consumer.iter().take(1000) // Acomulate messages 

I would like to acomulate this messages but based in a specified Duration or Timeout.

ajosecueto avatar Dec 26 '22 07:12 ajosecueto