Aias00 opened a new issue, #10762:
URL: https://github.com/apache/rocketmq/issues/10762

   ### Problem
   
   `RemoteChannel.toString()` currently includes the complete `extendAttribute` 
value. For gRPC clients this attribute may contain serialized channel settings 
or other runtime metadata. If a `RemoteChannel` is included in logs or 
diagnostics, the full attribute can be exposed unintentionally.
   
   ### Evidence
   
   
`proxy/src/main/java/org/apache/rocketmq/proxy/processor/channel/RemoteChannel.java`
 currently renders:
   
   `extendAttribute` directly in `toString()`.
   
   ### Expected behavior
   
   `RemoteChannel.toString()` should keep useful diagnostics such as channel 
id, protocol type, and remote proxy IP, but should not include the raw 
`extendAttribute` content. A presence flag and length are sufficient for 
debugging most cases.
   
   ### Scope
   
   This is in the Proxy / Studio track scope for safer client/runtime 
diagnostics. The proposed fix is a small logging/stringification hardening 
change and does not change channel serialization, decoding, or runtime behavior.


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