!49 add readme
From: @zhiliatox Reviewed-by: @hu-zongtang Signed-off-by: @hu-zongtang
This commit is contained in:
commit
915cd31a13
53
README.md
53
README.md
@ -1,7 +1,7 @@
|
|||||||
# rocketmq
|
# rocketmq
|
||||||
|
|
||||||
#### 介绍
|
#### 介绍
|
||||||
A Distributed Messaging Platform
|
RocketMQ是一个分布式的消息和流处理平台,具有低延迟、高性能、高可靠性、百亿级容量和灵活扩缩容能力。
|
||||||
|
|
||||||
#### 软件架构
|
#### 软件架构
|
||||||
软件架构说明
|
软件架构说明
|
||||||
@ -9,15 +9,54 @@ A Distributed Messaging Platform
|
|||||||
|
|
||||||
#### 安装教程
|
#### 安装教程
|
||||||
|
|
||||||
1. xxxx
|
1. 切换yum源
|
||||||
2. xxxx
|
```shell
|
||||||
3. xxxx
|
cd /etc/yum.repos.d/ && curl -OL https://eur.openeuler.openatom.cn/coprs/zhiliatox/example/repo/openeuler-22.03_LTS_SP2/zhiliatox-example-openeuler-22.03_LTS_SP2.repo
|
||||||
|
```
|
||||||
|
2. 安装rocketmq
|
||||||
|
```shell
|
||||||
|
dnf install rocketmq
|
||||||
|
```
|
||||||
|
3. 使用RocketMQ
|
||||||
|
```shell
|
||||||
|
cd /opt/rocketmq
|
||||||
|
```
|
||||||
|
|
||||||
#### 使用说明
|
#### 使用说明
|
||||||
|
1. 启动Namesrv
|
||||||
|
|
||||||
1. xxxx
|
对于Mac或者Linux用户:
|
||||||
2. xxxx
|
```shell
|
||||||
3. xxxx
|
### 启动Namesrv
|
||||||
|
$ nohup sh mqnamesrv &
|
||||||
|
|
||||||
|
### 检查日志确定Namesrv是否启动成功
|
||||||
|
$ tail -f ~/logs/rocketmqlogs/namesrv.log
|
||||||
|
The Name Server boot success...
|
||||||
|
```
|
||||||
|
对于Windows用户:
|
||||||
|
```shell
|
||||||
|
$ nohup mqnamesrv.cmd &
|
||||||
|
The Name Server boot success...
|
||||||
|
```
|
||||||
|
|
||||||
|
2. 启动Broker
|
||||||
|
|
||||||
|
对于Mac或者Linux用户:
|
||||||
|
```shell
|
||||||
|
### start Broker
|
||||||
|
$ nohup sh bin/mqbroker -n localhost:9876 &
|
||||||
|
|
||||||
|
### check whether Broker is successfully started, eg: Broker's IP is 192.168.1.2, Broker's name is broker-a
|
||||||
|
$ tail -f ~/logs/rocketmqlogs/broker.log
|
||||||
|
The broker[broker-a, 192.169.1.2:10911] boot success...
|
||||||
|
```
|
||||||
|
|
||||||
|
对于Windows用户:
|
||||||
|
```shell
|
||||||
|
$ mqbroker.cmd -n localhost:9876
|
||||||
|
The broker[broker-a, 192.169.1.2:10911] boot success...
|
||||||
|
```
|
||||||
|
|
||||||
#### 参与贡献
|
#### 参与贡献
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user