-
New Feature
-
Resolution: Done
-
Medium
-
None
-
None
TheĀ current producer API copies the buffer in order to avoid subsequent unexpected deallocations or manipulations made by the application after the produce().
However, in some cases the application might just transfer the ownership of the buffer to the libtransport (because maybe that buffer is not required anymore), avoiding a useless copy and speeding up the segmentation operation.