You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/11/27 13:44:42 UTC

[GitHub] [rocketmq-client-go] xujianhai666 commented on a change in pull request #311: [ISSUE #301] Adding GET_CONSUMER_RUNNING_INFO

xujianhai666 commented on a change in pull request #311: [ISSUE #301] Adding GET_CONSUMER_RUNNING_INFO
URL: https://github.com/apache/rocketmq-client-go/pull/311#discussion_r351293381
 
 

 ##########
 File path: consumer/consumer.go
 ##########
 @@ -287,7 +288,7 @@ func (dc *defaultConsumer) start() error {
 	dc.client.UpdateTopicRouteInfo()
 	dc.client.Start()
 	dc.state = internal.StateRunning
-
+	dc.consumerStartTimestamp = time.Now().UnixNano() / 1e6
 
 Review comment:
   could use time.XXXX instead of 1e6?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services