ydb-java-sdk icon indicating copy to clipboard operation
ydb-java-sdk copied to clipboard

Batch all messages in topic reader

Open pnv1 opened this issue 6 months ago • 0 comments

Both async and sync readers transfer messages in batches that are received from server as is. Sometimes it hurts performance in user scenarios where on each received batch user perform a long running operation. More batches leads to more long-running operations. The idea is to batch all batches received from server into one. Therefore, user will receive all available messages in one batch.

pnv1 avatar Aug 02 '24 11:08 pnv1