rocketmq-proxy-local 1.1.0

Embedded Broker-backed local adapter for RocketMQ Proxy
docs.rs failed to build rocketmq-proxy-local-1.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: rocketmq-proxy-local-1.0.0

rocketmq-proxy-local

Embedded broker adapter for rocketmq-proxy-core. It implements proxy services through the broker's in-process facade rather than forwarding to a separately deployed broker.

Integration

local_components_from_config_with_service_context assembles local components from LocalConfig and supplied runtime/telemetry capabilities. The public exports also include LocalBrokerCommandGateway, LocalBrokerRemotingAdapter, and LocalServiceManager.

LocalBrokerCommandGateway submits commands through a bounded queue with retained-byte and age limits and waits for typed responses. Control capacity is separate from ordinary I/O, and long-poll operations are tracked. Broker work and the command-processing service have explicit lifecycle owners. Embedded dispatch still traverses the broker request pipeline; it is not a direct unrestricted storage API.

LocalConfig includes broker cluster/name/address, store root, assignment strategy, queue capacity/bytes/age, I/O concurrency, control reserve, and long-poll bounds. Defaults include a local broker identity, 127.0.0.1:10911, and store/proxy/local-broker. These are embedded-backend settings, not the proxy's external listener addresses. Use a separate store root per instance.

The component constructor is not the full standalone BrokerBootstrap startup path. See local.rs, execution.rs, and rocketmq-proxy for composition and application lifecycle.

Features and validation

Default crate features are empty; the broker dependency supplies its normal default storage feature. observability and observability-traces forward broker telemetry support; tieredstore forwards tiered-storage support. Compiling these features does not activate exporters or storage policies.

Run from the root workspace:

cargo test -p rocketmq-proxy-local --lib

Licensed under Apache-2.0.