Deploy and exercise Proxy
Choose Cluster mode to expose an existing NameServer/Broker cluster through v2 gRPC. Choose Local mode to embed a Broker backend in the Proxy process. Both modes use the same gRPC contract, but their backend ownership and provisioning differ. Read Proxy architecture for those boundaries.
Build the selected mode
Use the repository toolchain and provide protoc through PATH or PROTOC, including the standard protobuf imports used by service.proto. From the repository root:
cargo build -p rocketmq-proxy --bin rocketmq-proxy-rust --no-default-features --features cluster-mode
For Local mode, replace cluster-mode with local-mode. Omitting --no-default-features builds both modes. Add tls when using the built-in TLS listener; exporter features are selected separately. Selecting a mode absent from the binary fails configuration.