merlimat commented on pull request #10215:
URL: https://github.com/apache/pulsar/pull/10215#issuecomment-819699721


   The protobuf object is only valid within the context of the IO thread that 
is deserializing it. If we need some of the fields to be used from different 
threads, these values have to be copied out. eg: 
https://github.com/apache/pulsar/blob/master/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java#L866


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to