Jason918 commented on pull request #13699: URL: https://github.com/apache/pulsar/pull/13699#issuecomment-1013599231
> I'd like just deep copying this object instead of sharing the object and setting some fields carefully. Yes, it's better to do it this way in the first implementation of chunking. But before this fix, I have checked all the other bytes field. This is the last one. And since there is no direct way to deep copy of this protobuffer object. So I think it's OK to do it by resetting field for now. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org