ymwneu commented on a change in pull request #537: [ISSUE #525] Support the 
message track
URL: https://github.com/apache/rocketmq/pull/537#discussion_r234916286
 
 

 ##########
 File path: 
client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java
 ##########
 @@ -273,16 +307,16 @@ public DefaultMQPushConsumer(final String consumerGroup, 
RPCHook rpcHook,
      * @param rpcHook RPC hook to execute before each remoting command.
      */
     public DefaultMQPushConsumer(RPCHook rpcHook) {
-        this(MixAll.DEFAULT_CONSUMER_GROUP, rpcHook, new 
AllocateMessageQueueAveragely());
+        this(MixAll.DEFAULT_CONSUMER_GROUP, rpcHook, new 
AllocateMessageQueueAveragely(),false);
     }
 
     /**
      * Constructor specifying consumer group.
      *
      * @param consumerGroup Consumer group.
      */
-    public DefaultMQPushConsumer(final String consumerGroup) {
-        this(consumerGroup, null, new AllocateMessageQueueAveragely());
+    public DefaultMQPushConsumer(final String consumerGroup, boolean 
msgTraceSwitch) {
+        this(consumerGroup, null, new 
AllocateMessageQueueAveragely(),msgTraceSwitch);
 
 Review comment:
   Don't modify the origin method.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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