Overview of nacos_rust_client
masterThe nacos_rust_client is a Rust implementation of the Nacos client SDK. It is designed for high performance and stability, utilizing actix and tokio for asynchronous operations. All client background processing occurs within a single actix environment thread to prevent thread explosion and ensure controllable resource usage.
Key capabilities include:
- Config Center: Supports pushing, retrieving, and listening to configurations.
- Naming Service: Supports service instance registration (with automatic heartbeat maintenance) and service instance retrieval (with automatic listening/caching of instance lists).
Protocol Support:
- v0.3.x and later: Supports both Nacos
1.x(HTTP) and2.xprotocols. You can specify the protocol type when creating the client. - v0.2.x: Only supports Nacos
1.x(HTTP) protocol.
Note: v0.3.x is backward compatible with v0.2.x APIs. It is recommended to upgrade to v0.3.x.