2259289435 commented on issue #566: Auto create topic question URL: https://github.com/apache/rocketmq/issues/566#issuecomment-451734326 > @2259289435 目前我们是在控制台直接修改,将Topic扩展到多个master节点上面。自己考虑的几种方式1、在控制台上创建Topic 2、producer和consumer以及admin API里面其实有创建Topic API,应用启动时将对应的Topic初始化就可以了 3、还有一种方式就是设计更合理的自动创建方式,这个就需要修改源码重新打包 了解,还是采取2自己来控制比较方便。顺序的就单broker,非顺序的可以集群创建,而不是单broker创建。 2的话MQAdminImpl里面的createTopic(key, newTopic, queueNum, topicSysFlag)倒是找到方法了,只是方法上都没有注释
---------------------------------------------------------------- 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
