songxiao-hui commented on issue #2423: URL: https://github.com/apache/rocketmq/issues/2423#issuecomment-726487815
> > it's will be compare the default topic(TBW102) config's queue num and you config topic queue num then choose the min number > > Thanks。I have checked TBW102, the number of queues is 32, which is the same as the defaultTopicQueueNums I set. sry,可能上次没描述清楚,这个配置指的是producer端的配置 DefaultMQProducer. defaultTopicQueueNums 默认是4,可以通过producer.setDefaultTopicQueueNums()改变, 在broker创建新topic时,会比较TBW102的队列数(你broker端配置的) 和 DefaultMQProducer. defaultTopicQueueNums 然后取其较小者,可查看源码 TopicConfigManager#createTopicInSendMessageMethod() 方法 ---------------------------------------------------------------- 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]
