apache / distributedlog

Apache DistributedLog
Apache License 2.0
185 stars 74 forks source link

LogRecord constructor should avoid copying memory on a ByteBuf #205

Closed sijie closed 7 years ago

sijie commented 7 years ago

FEATURE REQUEST

  1. Please describe the feature you are requesting.

182 enable a public construct with ByteBuf. However it might be making sense to avoid memory copy when people pass in a ByteBuf

  1. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

should-have

  1. Provide any additional detail on your proposed use case for this feature.

N/A