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

[ISSUE #698] Add precautions regarding Local Mode Proxy. #699

Open
wants to merge 1 commit into
base: new-official-website
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions docs/04-deployment/01deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Apache RocketMQ 5.0 版本完成基本消息收发,包括 NameServer、Broker

由于 Local 模式下 Proxy 和 Broker 是同进程部署,Proxy本身无状态,因此主要的集群配置仍然以 Broker 为基础进行即可。

:::caution
Local 模式下 Proxy 不应该修改`grpcServerPort`参数,否则可能会连接到错误的集群上。
:::

### 单组节点单副本模式

:::caution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ In the Apache RocketMQ 5.0 version, basic message sending and receiving is compl

Since the Proxy and Broker are deployed in the same process in Local mode, the Proxy is stateless, so the main cluster configuration can still be based on the Broker.

:::caution
The Local Mode Proxy should not modify the `grpcServerPort` parameter, otherwise it may connect to the wrong cluster.
:::

### Start NameServer

```bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ Apache RocketMQ 5.0 版本完成基本消息收发,包括 NameServer、Broker
## Local模式部署

由于 Local 模式下 Proxy 和 Broker 是同进程部署,Proxy本身无状态,因此主要的集群配置仍然以 Broker 为基础进行即可。

:::caution
Local 模式下 Proxy 不应该修改`grpcServerPort`参数,否则可能会连接到错误的集群上。
:::

### 启动 NameServer
NameServer需要先于Broker启动,且如果在生产环境使用,为了保证高可用,建议一般规模的集群启动3个NameServer,各节点的启动命令相同,如下:

Expand Down
Loading