zhangxinghao commented on issue #434: [native] query topic route from server 
error underlayError="topic not exist"
URL: 
https://github.com/apache/rocketmq-client-go/issues/434#issuecomment-590854281
 
 
   mconsumer, err := rocketmq.NewPushConsumer(
                // consumer.WithInstance(instanceId),
                consumer.WithNamespace(instanceId),
                consumer.WithGroupName(msgGroupId),
                consumer.WithNameServer([]string{endpoint}),
                consumer.WithConsumerModel(consumer.Clustering),
                consumer.WithConsumeFromWhere(consumer.ConsumeFromFirstOffset),
                consumer.WithConsumerOrder(true),
                consumer.WithCredentials(primitive.Credentials{
                        AccessKey: accessKey,
                        SecretKey: secretKey,
                }),
        )

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


With regards,
Apache Git Services

Reply via email to