reduce memory copies when consuming kafka responses