chickenlj commented on issue #10014:
URL: https://github.com/apache/dubbo/issues/10014#issuecomment-1120584508

   It is indeed an issue that need to be fixed
   
   ```java
       public void writeAttachments(Map<String, Object> attachments) throws 
IOException {
           if (attachments == null) {
               return;
           }
   
           Map<String, String> stringAttachments = new HashMap<>();
           attachments.forEach((k, v) -> stringAttachments.put(k, (String) v));
   
           
ProtobufUtils.serialize(MapValue.Map.newBuilder().putAllAttachments(stringAttachments).build(),
 os);
           os.flush();
       }
   ```


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to