Aias00 opened a new pull request, #10731:
URL: https://github.com/apache/rocketmq/pull/10731

   ## Summary
   - replace direct MessageExt logging in LocalMessageService POP offset 
warning with a compact message summary
   - keep topic, msgId, queue, offsets, body size, and property keys while 
omitting body bytes and property values
   - add a targeted test for the summary helper
   
   Fixes https://github.com/apache/rocketmq/issues/10730
   
   ## Tests
   - JAVA_HOME=$(/usr/libexec/java_home -v 1.8) mvn -pl proxy 
-Dtest=LocalMessageServiceTest#testSummarizeMessageExtDoesNotExposeBodyOrPropertyValues
 test
   
   Note: running the full local `LocalMessageServiceTest` class in this 
workspace currently hits an existing Java 8/local dependency signature issue in 
`testPopMessageWriteAndFlush` (`ByteBuffer.flip()Ljava/nio/ByteBuffer;`), 
unrelated to this log-summary change.


-- 
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: [email protected]

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

Reply via email to