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 07:18:24 UTC

[GitHub] [rocketmq-client-go] wenfengwang commented on a change in pull request #141: [ISSUE#120]update AllocateByAveragely and AllocateByAveragelyCircle and add their tests

wenfengwang commented on a change in pull request #141: [ISSUE#120]update AllocateByAveragely and AllocateByAveragelyCircle and add their tests
URL: https://github.com/apache/rocketmq-client-go/pull/141#discussion_r310465510
 
 

 ##########
 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:
   please modify consumer/simple.go for this

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