simon1005 opened a new issue #492:
URL: https://github.com/apache/rocketmq-client-go/issues/492


   the version is v2.0.0
   
   ```
   // resetRetryAndNamespace modify retry message.
   func (pc *pushConsumer) resetRetryAndNamespace(subMsgs 
[]*primitive.MessageExt) {
        groupTopic := internal.RetryGroupTopicPrefix + pc.consumerGroup
        beginTime := time.Now()
        for idx := range subMsgs {
                msg := subMsgs[idx]
                retryTopic := msg.GetProperty(primitive.PropertyRetryTopic)
                if retryTopic == "" && groupTopic == msg.Topic {
                        msg.Topic = retryTopic
                }
                subMsgs[idx].WithProperty(primitive.PropertyConsumeStartTime, 
strconv.FormatInt(
                        beginTime.UnixNano()/int64(time.Millisecond), 10))
        }
   }
   ```
   
   maybe `retryTopic == ""` should be `retryTopic != ""`
   
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to