Rust gRPC plugin, bridge, and SDKs for Zenoh 1.7.2 and rust 1.85.0 now.
This plugin starts a gRPC server inside zenohd and exposes Zenoh operations over gRPC so that external applications (python/c++) can interact with Zenoh via gRPC calls.
This is useful for one zenoh peer/router acting as a communication bridge and multiple external (local) applications connecting to it to send and receive messages.
zenoh-plugin-grpc: plugin loaded byzenohdzenoh-bridge-grpc: standalone executable with the plugin linked inzenoh-grpc-proto: gRPC proto and generated Rust types, used by gRPC server (zenoh-plugin-grpc) and clients (zenoh-grpc-client-rs).zenoh-grpc-client-sdk/zenoh-grpc-client-rs: Rust client corezenoh-grpc-client-sdk/zenoh-grpc-python: Python bindingszenoh-grpc-client-sdk/zenoh-grpc-c: C wrapperzenoh-grpc-client-sdk/zenoh-grpc-cpp: C++ wrapper
cargo check --workspace
cargo build --releaseStart the standalone bridge:
cargo run -p zenoh-bridge-grpcThen connect from a client SDK to:
unix:///tmp/zenoh-grpc.sock
If you want to run inside zenohd, see: