Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 01quickstart.md #614

Open
wants to merge 1 commit into
base: new-official-website
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion versioned_docs/version-5.0/02-quickStart/01quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,30 @@ The Name Server boot success...
NameServer成功启动后,我们启动Broker和Proxy,5.x 版本下我们建议使用 Local 模式部署,即 Broker 和 Proxy 同进程部署。5.x 版本也支持 Broker 和 Proxy 分离部署以实现更灵活的集群能力。详情参考[部署教程](../05-deploymentOperations/01deploy.md)。

```shell
### 先启动broker
配置grpc端口

vim conf/rmq-proxy.json

```sh
{
"rocketMQClusterName": "DefaultCluster",
"grpcServerPort" : 9877 # 增加这一个配置
}

```
如果不配置端口,使用grpc客户端发送消息会失败

检查grpc端口是否正常开启, 如下就是开启状态
```sh
[root@localhost rocketmq514]# telnet localhost 9877
Trying ::1...
Connected to localhost.
Escape character is '^]'.


```

### 启动broker
$ nohup sh bin/mqbroker -n localhost:9876 --enable-proxy &

### 验证broker是否启动成功, 比如, broker的ip是192.168.1.2 然后名字是broker-a
Expand Down