lhotari opened a new pull request #10098: URL: https://github.com/apache/pulsar/pull/10098
Fixes: #10097 ### Motivation See #10097 for the issue. It seems that the code broke when the switch was made to LightProto in #9046. ### Modifications Use `MessageImpl`'s `getReplicatedFrom` method which properly checks if the value is available: https://github.com/apache/pulsar/blob/c12765a0530bcefca8e840d2f8f43383d7478778/pulsar-client/src/main/java/org/apache/pulsar/client/impl/MessageImpl.java#L267-L279 -- 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: us...@infra.apache.org