duhenglucky commented on a change in pull request #3625:
URL: https://github.com/apache/rocketmq/pull/3625#discussion_r790429551



##########
File path: 
common/src/main/java/org/apache/rocketmq/common/message/MessageClientIDSetter.java
##########
@@ -48,7 +50,7 @@
     }
 
     private synchronized static void setStartTime(long millis) {
-        Calendar cal = Calendar.getInstance();
+        Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("GMT+8"));

Review comment:
       It is recommended to use the time zone as an optional option instead of 
the GMT+8 by default




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