lollipopjin commented on code in PR #540:
URL: https://github.com/apache/rocketmq-clients/pull/540#discussion_r1223972655


##########
java/client/src/main/java/org/apache/rocketmq/client/java/example/ProducerTransactionMessageExample.java:
##########
@@ -92,7 +70,5 @@ public static void main(String[] args) throws 
ClientException, IOException {
         transaction.commit();
         // Or rollback the transaction.
         // transaction.rollback();
-        // Close the producer when you don't need it anymore.

Review Comment:
   it's necessary to reserve the shutdown annotation to notice adding producer 
shutdown to shutdown hook



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