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/08/05 17:39:13 UTC

[GitHub] [rocketmq-client-go] luther-siyuan commented on a change in pull request #141: [ISSUE#120] update strategy and add offset_store test

luther-siyuan commented on a change in pull request #141: [ISSUE#120] update strategy and add offset_store test
URL: https://github.com/apache/rocketmq-client-go/pull/141#discussion_r310715405
 
 

 ##########
 File path: examples/consumer/retry/order/main.go
 ##########
 @@ -41,6 +41,7 @@ func main() {
 		consumer.WithConsumeFromWhere(consumer.ConsumeFromFirstOffset),
 		consumer.WithConsumerOrder(true),
 		consumer.WithMaxReconsumeTimes(5),
+		consumer.WithStrategy(consumer.AllocateByAveragely),
 
 Review comment:
   have already added examples/consumer/strategy file

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