ydb-java-sdk
ydb-java-sdk copied to clipboard
Batch all messages in topic reader
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.