1. 去官网https://github.com/alibaba/RocketMQ/releases下载alibaba-rocketmq-3.2.6.tar.gz,这个是已经maven install好了的。当然也可以下载source code自己编译。

 

2. 进入解压后的项目的bin目录下,分别启动name server和broker server。

参考《搭建RocketMQ服务》、《阿里RocketMQ Quick Start

 

3. 编写producer和consumer测试代码

参考《阿里RocketMQ Quick Start》里面的代码,部署后执行可能会遇到异常:MQClientException: No route info of this topic

解决方案:https://github.com/alibaba/RocketMQ/issues/44

相关文章:

  • 2022-01-19
  • 2021-10-10
  • 2022-12-23
  • 2022-12-24
  • 2021-08-30
  • 2021-09-14
  • 2021-09-15
  • 2022-01-03
猜你喜欢
  • 2021-05-17
  • 2019-10-09
  • 2021-05-05
  • 2021-08-15
  • 2021-07-18
  • 2022-12-23
相关资源
相似解决方案