feature: return messages size in bufferproducer send