load balance and service registry closed loop (#105)

* feat(cluster): loadbalance types

* feat(rpc): types alias for cluster invoker

* feat(cluster): integration

* feat(cluster): integration with examples

* feat(cluster.loadbalance): greeter example with default random loadbalance passed

* feat(cluster.loadbalance): completing roundrobin arithmetic and fixing compile warns.

* typo

* fix compile warns

* fix rustfmt check fails.

* fix cargo check fails(due to the use of nightly channel locally).

* fix: default yaml config parse failed in ci.

* ci actions zk test

* feat(registry): zk support

* feat(registry): zk support, connected to zk

* feat(registry): provider.services  key as service name

* feat(registry): serviceKey and configuration files, aligned to dubbo ecology

* feat(commons): tested Url impl

* feat(commons): tested Url impl

* feat(zk): interface service discovery

* feat(zk): create_path_with_parent_check

* feat(zk): export bug fixed.
44 files changed
tree: 5af1da36f15130cc03d07a59f1512d47c41e39b5
  1. .github/
  2. common/
  3. config/
  4. docs/
  5. dubbo/
  6. dubbo-build/
  7. examples/
  8. metadata/
  9. registry/
  10. registry-zookeeper/
  11. scripts/
  12. xds/
  13. .asf.yaml
  14. .gitignore
  15. .licenserc.yaml
  16. Cargo.toml
  17. contributing.md
  18. dubbo.yaml
  19. dubbogo.yaml
  20. LICENSE
  21. NOTICE
  22. README.md
  23. README_CN.md
README.md

Apache Dubbo-rust

Apache Dubbo-rust, an RPC framework that implements Dubbo written in Rust.Please visit the official website for more information.

Build Status License

[ 中文 ]

Overview

Dubbo-rust is still under development. For now, gRPC calls based on HTTP2 have been implemented.

The following libraries are mainly dependent on:

  • Tokio is an event-driven, non-blocking I/O platform for writing asynchronous applications with Rust.

  • Prost is a Protocol Buffers implementation for Rust.

  • Hyper is a fast and correct HTTP implementation for Rust.

  • Serde is a framework for serializing and deserializing Rust data structures efficiently and generically.

Features

  • :white_check_mark: RPC synchronous / asynchronous call
  • :white_check_mark: IDL code automatic generation
  • :construction: Multiple RPC protocol support (like Triple, Dubbo, gRPC, JSONRPC)
  • :construction: Support TCP/HTTP2 transport protocol
  • :construction: Service registration and discovery

Get started

Project structure

.
├── Cargo.toml
├── LICENSE
├── README.md
├── README_CN.md
├── common
│   ├── Cargo.toml
│   └── src
│       └── lib.rs
├── config
│   ├── Cargo.toml
│   └── src
│       ├── config.rs
│       ├── lib.rs
│       ├── protocol.rs
│       └── service.rs
├── contributing.md
├── docs
│   ├── filter-design.md
│   ├── generic-protocol-design.md
│   ├── readme.md
│   └── services.md
more ...

Contact

Contribute

Welcome more developers to join us. About more details please check “How to contribute”.

License

Apache Dubbo-rust software is licenced under the Apache License Version 2.0. See the LICENSE file for details.