commit | e8350ee1ddf62f6a11b96096bc36d195bdd5a728 | [log] [tgz] |
---|---|---|
author | ChengTie(鐵手) <ironcity.hz@gmail.com> | Sun Jan 03 22:14:44 2021 +0800 |
committer | GitHub <noreply@github.com> | Sun Jan 03 22:14:44 2021 +0800 |
tree | 26bc91175c610d00e2fa508e0144f180cca72107 | |
parent | dea49afdf2b26fff58de9f38d36763df3592828a [diff] | |
parent | b8fd8efaa41d2eccc0810e1279851f29e8fc4193 [diff] |
Merge pull request #102 from xiaoliu10/dispose_old_configuration_mode compatible old configuration mode Former-commit-id: 1750d33cc6801c6ddf638388a8197ecff9399aa1 [formerly 9233d08d8c9f04fae972fe755de0138f059713d5 [formerly 32395f0064fc5a6c39718a832d7d97ad31a39c21]] Former-commit-id: 48fcadaad37ea097301edfb2b3ce17de256c2fa4 [formerly 9233d08d8c9f04fae972fe755de0138f059713d5] Former-commit-id: 00f8d0c3a6d58bff536ad0fcbab6d3e691aaa31a [formerly b5b72a413fbf4b08bb1e7f9cb764d4349931e4e6] Former-commit-id: 4899a9ba2a26af8f5171ea9d41cb2d3c378d85da
dubbo-go-proxy is a gateway that mainly focuses on providing gateway solution to your Dubbo and RESTful services.
It supports HTTP-to-Dubbo and HTTP-to-HTTP proxy and more protocols will be supported in the near future.
make build
make start
dubbo-go-proxy supports to invoke 2 protocols:
Data panel
Control Panel
Downstream is the requester who sends request to and expecting the response from dubbo-go-proxy. (Eg.Postman client, Browser)
The service that receive requests and send responses to dubbo-go-proxy. (Eg. Dubbo server)
The way that the dubbo-go-proxy exposes services to upstream clients. It could be configured to multiple listeners for one dubbo-go-proxy.
Cluster is a set of upstream services that logically similar, such as dubbo cluster. Proxy can identifies the cluster members through service discovery and proactively probes their healthiness so that the proxy can route the requests to proper cluster member base on load balancing strategies.
API is the core concept of the dubbo-go-proxy, all the upstream services will be configured and exposed through API.
The actual caller of the upstream services.
Router routes the HTTP request to proper upstream services according to the API configs.
The context of a request in dubbo-go-proxy includes almost all information to get response from upstream services. It will be used in almost all process in the dubbo-go-proxy, especially the filter chain.
Filter manipulate the incoming requests. It is extensible for the users.
The project is under intensively iteration, you are more than welcome to use, suggest and contribute codes. DingDing Group: 31363295
Apache License, Version 2.0