批量拉取数量不对 #7596
Answered
by
l0ady
1025044866xxy
asked this question in
Q&A
批量拉取数量不对
#7596
-
我使用的是DefaultMQPushConsumer api,设置了pullBatchSize和consumeMessageBatchMaxSize都为512,同时修改了broker相关参数,maxTransferCountOnMessageInMemory,maxTransferBytesOnMessageInMemory,maxTransferBytesOnMessageInDisk,maxTransferCountOnMessageInDisk。为什么在消息堆积的时候,我拉取到的消息数还是很少?不是我期望的拉满呢?比如说拉到512条。 |
Beta Was this translation helpful? Give feedback.
Answered by
l0ady
Dec 7, 2023
Replies: 2 comments 6 replies
-
看代码这个不仅和消息的条数有关系,和每条消息的大小也有关系; |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
1025044866xxy
-
我也遇到同样的问题,后来解决没有啊? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
看代码这个不仅和消息的条数有关系,和每条消息的大小也有关系;