|
|
il y a 1 mois | |
|---|---|---|
| .. | ||
| src | il y a 2 mois | |
| README.md | il y a 2 mois | |
| pom.xml | il y a 2 mois | |
rocketmq:
注意:由于rocketmq并没有自动创建topic的功能, 所以需要进入到rockerMQ文件路径中执行
创建普通消息的topic
sh mqadmin updateTopic -n <nameserver_address> -t <topic_name> -c <cluster_name> -a +message.type=NORMAL
bin/mqadmin updatetopic -n localhost:9876 -t test-topic -c DefaultCluster
创建事务消息的topic
sh mqadmin updateTopic -n <nameserver_address> -t <topic_name> -c <cluster_name> -a +message.type=TRANSACTION
bin/mqadmin updatetopic -n localhost:9876 -t transaction-topic -c DefaultCluster -a +message.type=TRANSACTION