Merge branch 'develop' into 0.3.0

Former-commit-id: 84fd081536835f30938fc92340220fa2d9ce4813 [formerly 9e4bd58615ab42ad180372ffdd36c3a0136821e7]
Former-commit-id: eaa6cbe8bfc582e611edf08dca6c9e422dbfe073
tree: cee854f82a6aee3474ff32b2e25adfb433fd03de
  1. .github/
  2. build/
  3. cmd/
  4. configs/
  5. docs/
  6. pkg/
  7. samples/
  8. .asf.yaml
  9. .gitignore
  10. .gitmodules
  11. .travis.yml
  12. before_ut.sh
  13. before_validate_license.sh
  14. CHANGE.md
  15. go.mod
  16. go.sum
  17. integrate_test.sh
  18. LICENSE
  19. Makefile
  20. NOTICE
  21. README.md
  22. README_CN.md
  23. start.sh
  24. start_integrate_test.sh
README.md

Build Status

中文

Mascot

Introduction

dubbo-go-pixiu 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.

Get Start

Start Pixiu

  1. Build the binary with make build
  2. Start the pixiu with make start

Quick Guide

dubbo-go-pixiu supports to invoke 2 protocols:

  1. Http
  2. Dubbo

Features

  1. You can customize your own dubbo-go-pixiu with plugin.
  2. Multiple default filters to manage your APIs.
  3. Dubbo and HTTP proxies.
  4. Customizable request parameters mapping.
  5. Automatically recognizes RPC services from service registration center and exposes it in HTTP protocol.
  6. Sidecar or centralized deployment(Planning)
  7. Dubbo protocol's rate-limiting in Istio environment(Planning)

Architecture Diagram

Flow Diagram

Teams

Components

Pixiu

Data panel

Admin

Control Panel

Concepts

Downstream

Downstream is the requester who sends request to and expecting the response from dubbo-go-pixiu. (Eg.Postman client, Browser)

Upstream

The service that receive requests and send responses to dubbo-go-pixiu. (Eg. Dubbo server)

Listener

The way that the dubbo-go-pixiu exposes services to upstream clients. It could be configured to multiple listeners for one dubbo-go-pixiu.

Cluster

Cluster is a set of upstream services that logically similar, such as dubbo cluster. pixiu can identifies the cluster members through service discovery and proactively probes their healthiness so that the pixiu can route the requests to proper cluster member base on load balancing strategies.

Api

API is the core concept of the dubbo-go-pixiu, all the upstream services will be configured and exposed through API.

Client

The actual caller of the upstream services.

Router

Router routes the HTTP request to proper upstream services according to the API configs.

Context

The context of a request in dubbo-go-pixiu includes almost all information to get response from upstream services. It will be used in almost all process in the dubbo-go-pixiu, especially the filter chain.

Filter

Filter manipulate the incoming requests. It is extensible for the users.

Contact Us

The project is under intensively iteration, you are more than welcome to use, suggest and contribute codes. DingDing Group: 31363295

Community

If u want to communicate with our community, pls scan the following dubbobo Ding-Ding QR code or search our commnity DingDing group code 31363295.

The wechat public account of out community is as follows.

We welcome the friends who can give us constructing suggestions instead of known-nothing.

License

Apache License, Version 2.0