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

feat: Batch read requests for topic reader

Open rekby opened this issue 1 year ago • 0 comments

Feature Request

Describe the Feature Request Now topic reader send readrequest after every message/batch, returned from sdk. Need batch read requests for reduce requests count and allow server to send larger batches.

Describe Preferred Solution Don't send read request right after return batch, but wait while returned data size reach 30% of buffer size.

Related Code send read requests free buffer after return message

Additional Context

If the feature request is approved, would you be willing to submit a PR? Yes / No (Help can be provided if you need assistance submitting a PR)

rekby avatar Sep 07 '23 08:09 rekby