mirror of
https://github.com/apache/rocketmq.git
synced 2026-08-30 18:10:44 +08:00
884 B
884 B
RocketMQ Proxy Deployment Guide
Overview
RocketMQ Proxy supports two deployment modes, Local mode and Cluster mode.
Configuration
The configuration applies to both the Cluster mode and Local mode, whose default path is
distribution/conf/rmq-proxy.json directory.
Cluster mode
- Set configuration field
nameSrvAddr. - Set configuration field
proxyModetocluster(case insensitive).
Run the command below.
nohup sh mqproxy &
The command will only run Proxy itself. It requires Namesrv and Broker components running.
Local mode
- Set configuration field
nameSrvAddr. - Set configuration field
proxyModetolocal(case insensitive).
Run the command below.
nohup sh mqproxy &
The command will not only run Proxy, but also run Broker. It requires Namesrv only and there's no need for
extra Broker.