Open polachok opened 6 years ago
I have created a prototype to prefetch records, what's your suggestion?
I came to alternative solution https://github.com/polachok/tokio-kafka/commit/b138ff936f3ee93aaea678a3067208892ed4597c
ok, move records to inner will be ok, but the record should be return after step the state machine
We should have some kind of prefetch, so that while the current batch is processed by stream consumer we could get the next batch ready.