In org.apache.rocketmq.remoting.protocol.route.QueueData, readQueueNums and writeQueueNums serve different purposes. In TopicPublishInfo, use getQueueIdByBroker to get the writeQueueNums.command ambiguity affects subsequent code reuse and logic understanding. It is recommended that getQueueIdByBroker be optimized to getWriteQueueIdByBroker. <img width="696" alt="image" src="https://user-images.githubusercontent.com/7479320/219828453-bfd82974-7cd6-4f65-b29f-ea83883c81d0.png">