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 2021/08/13 03:01:54 UTC

[GitHub] [rocketmq-client-go] RongtongJin commented on a change in pull request #712: (fix): fix push_consumer#unsubscribe unsubscribe retry

RongtongJin commented on a change in pull request #712:
URL: https://github.com/apache/rocketmq-client-go/pull/712#discussion_r688211430



##########
File path: consumer/push_consumer.go
##########
@@ -119,6 +119,9 @@ func NewPushConsumer(opts ...Option) (*pushConsumer, error) {
 
 	p.interceptor = primitive.ChainInterceptors(p.option.Interceptors...)
 
+	retryTopic := internal.GetRetryTopic(p.consumerGroup)
+	sub := buildSubscriptionData(retryTopic, MessageSelector{TAG, _SubAll})
+	p.subscriptionDataTable.Store(retryTopic, sub)

Review comment:
       Broadcast mode does not need to subscribe to retry topic




-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org