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:
[email protected]


With regards,
Apache Git Services

Reply via email to