Pil0tXia commented on code in PR #4698:
URL: https://github.com/apache/eventmesh/pull/4698#discussion_r1443634446


##########
eventmesh-sdks/eventmesh-sdk-java/src/main/java/org/apache/eventmesh/client/grpc/producer/EventMeshGrpcProducer.java:
##########
@@ -61,7 +61,7 @@ public EventMeshGrpcProducer(EventMeshGrpcClientConfig 
clientConfig) {
     }
 
     public <T> Response publish(T message) {
-        LogUtils.info(log, "Publish message ", message.toString());
+        LogUtil.info(log, "Publish message ", message::toString);

Review Comment:
   The supplier can be processed correctly:
   
   
![image](https://github.com/apache/eventmesh/assets/41445332/37b3edce-8b87-4a04-99dd-05b0ba068c35)
   
   However, due to an incorrect modification, the supplier parameter does not 
have a place to be filled: 
   
   
![image](https://github.com/apache/eventmesh/assets/41445332/0e9a617e-8225-458d-ab91-4b7269548a70)
   
   I will correct similar usages. @scwlkq Please have a check.



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