eolivelli opened a new pull request #8990: URL: https://github.com/apache/pulsar/pull/8990
Fixes #8974 ### Motivation In certain cases peeking messages on compresses topics return an error, see #8974 because Airlift does not support readonly ByteBuffers, because they do not give access to the underlying array) ### Modifications Copy the ByteByffer in case of unsupported buffer type ### Verifying this change This change adds new tests that reproduce the error and demonstrate that the problem is fixed. ---------------------------------------------------------------- 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]
