Files
rocketmq/docs/en/proxy/deploy_guide.md
amos c0d23dbbe1
Some checks are pending
Build and Run Tests by Bazel / bazel-compile (ubuntu-latest) (push) Waiting to run
CodeQL Analysis / CodeQL-Build (push) Waiting to run
Coverage / calculate-coverage (push) Waiting to run
Run Integration Tests / maven-compile (ubuntu-latest, JDK-8) (push) Waiting to run
Build and Run Tests by Maven / maven-compile (macos-latest, JDK-8) (push) Waiting to run
Build and Run Tests by Maven / maven-compile (ubuntu-latest, JDK-8) (push) Waiting to run
Build and Run Tests by Maven / maven-compile (windows-latest, JDK-8) (push) Waiting to run
Misspell Check / misspell-check (push) Waiting to run
PUSH-CI / Build dist tar (push) Waiting to run
PUSH-CI / Docker images (ubuntu, 8) (push) Blocked by required conditions
PUSH-CI / List version (push) Blocked by required conditions
PUSH-CI / Deploy RocketMQ For E2E (push) Blocked by required conditions
PUSH-CI / Deploy RocketMQ For Benchmarking (push) Blocked by required conditions
PUSH-CI / Test E2E grpc java (push) Blocked by required conditions
PUSH-CI / Test E2E golang (push) Blocked by required conditions
PUSH-CI / Test E2E remoting java (push) Blocked by required conditions
PUSH-CI / Performance benchmark test (push) Blocked by required conditions
PUSH-CI / Clean E2E (push) Blocked by required conditions
PUSH-CI / Clean Benchmarking (push) Blocked by required conditions
upload source code
2025-05-21 14:41:59 +08:00

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 proxyMode to cluster (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 proxyMode to local (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.