mirror of
https://github.com/apache/rocketmq.git
synced 2026-08-28 20:09:14 +08:00
9b95b9e6c8
* Update deploy_guide.md * Update docs/en/proxy/deploy_guide.md Capitalize Mode Co-authored-by: Aaron Ai <yangkun.ayk@gmail.com> * Update docs/en/proxy/deploy_guide.md Co-authored-by: Oliver <wqdyxnbd@163.com> Co-authored-by: Aaron Ai <yangkun.ayk@gmail.com> Co-authored-by: Oliver <wqdyxnbd@163.com>
1.0 KiB
1.0 KiB
RocketMQ Proxy Deployment Guide
Overview
RocketMQ Proxy supports two deployment modes: Local and Cluster.
Configuration
The configuration file applies to both Cluster and Local mode, whose default path is
distribution/conf/rmq-proxy.json.
Cluster Mode
- Set configuration field
nameSrvAddr. - Set configuration field
proxyModetocluster(case insensitive).
Run the command below.
nohup sh mqproxy &
The command will only launch the Proxy component itself. It assumes that Namesrv nodes are already running at the address specified nameSrvAddr, and broker nodes, registering themselves with nameSrvAddr, are running too.
Local Mode
- Set configuration field
nameSrvAddr. - Set configuration field
proxyModetolocal(case insensitive).
Run the command below.
nohup sh mqproxy &
The previous command will launch the Proxy, with Broker in the same process. It assumes Namesrv nodes are running at the address specified by nameSrvAddr.