In the past, batch send may be not effective, since the log via single block replay that is too small to achieve target batch bytes, for example, single replay block just produce 1KB data In one loop, but we set the batch bytes = 4KB and expect send 4KB in one rpc , It will not meet expectations. this pr support batch read log and the batch bytes of reading will be also used for batch send
Ref-Issue
https://github.com/apache/incubator-pegasus/issues/892
Change
In the past, batch send may be not effective, since the log via
single block replay
that is too small to achievetarget batch bytes
, for example,single replay block
just produce1KB
data In one loop, but we set thebatch bytes = 4KB
and expect send4KB
in one rpc , It will not meet expectations. this pr support batch read log and thebatch bytes
of reading will be also used forbatch send
Config