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 2022/09/27 03:07:10 UTC

[GitHub] [rocketmq-clients] aaron-ai commented on a diff in pull request #249: golang: remove redundant configuration

aaron-ai commented on code in PR #249:
URL: https://github.com/apache/rocketmq-clients/pull/249#discussion_r980687516


##########
golang/example/consumer/simple_consumer/main.go:
##########
@@ -53,9 +52,8 @@ func main() {
 	golang.ResetLogger()
 	// new simpleConsumer instance
 	simpleConsumer, err := golang.NewSimpleConsumer(&golang.Config{
-		Endpoint: Endpoint,
-		Group:    GroupName,
-		Region:   Region,
+		Endpoint:      Endpoint,
+		ConsumerGroup: GroupName,

Review Comment:
   ```suggestion
   		ConsumerGroup: ConsumerGroup,
   ```



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