You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "changyoutianxia (via GitHub)" <gi...@apache.org> on 2023/03/28 15:10:07 UTC

[GitHub] [rocketmq] changyoutianxia commented on issue #6481: How to consume messages in batches? I want batch insert db

changyoutianxia commented on issue #6481:
URL: https://github.com/apache/rocketmq/issues/6481#issuecomment-1487075486

   > If I understand correctly. Invoke the method `setConsumeMessageBatchMaxSize()` on your builder to specify the message consumption batch size (`DefaultMQPushConsumer#consumeMessageBatchMaxSize`) you want. By default, `consumeMessageBatchMaxSize = 1`. By viewing the method `ConsumeMessageConcurrentlyService#submitConsumeRequest(4)`, you can understand the implementation details of consumption batching.
   
   in version 5  not exist DefaultMQPushConsumer  class


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org