1.下载安装包(下载地址)
https://archive.apache.org/dist/rocketmq/4.2.0/rocketmq-all-4.2.0-bin-release.zip
2.配置环境变量
3.启动mqnamesrv
4.启动broker
start mqbroker.cmd -n localhost:9876 autoCreateTopicEnable=true
5.如果broker启动不了,去修改runbroker.cmd
6.如果还是无法启动,删除用户下的store目录