If I call `Consume(std::shared_ptr<Buffer> buffer)` and it is already
pre-framed to contain (e.g.) an entire RecordBatch Message and nothing
else, will it use this Buffer in zero-copy mode when calling my
Listener::OnRecordBatchDecoded() implementation?  I.e. will data in that
RecordBatch refer directly to the original Buffer I passed in?

If not, how can we get this functionality?  I have a stream transport that
can preserve Message boundaries and yield ownership of that contiguous
memory.

Thanks,
John

Reply via email to