Choreo Connect Overview

Choreo Connect is an API Gateway for micro services, which is cloud-native, decentralized and developer centric.

The WSO2 Choreo Connect is a lightweight message processor for APIs. The Choreo Connect is used for message security, transport security, routing, and other common API Management related quality of services.

Choreo Connect Components

Choreo Connect consists of the following three components.

1. Router

Router is the component that is responsible for routing the traffic from different clients to the desired destination(service). Choreo Connect uses the Envoy Proxy as the core component which does the traffic routing. The APIs are exposed to the external clients using the router.

2. Enforcer

Enforcer is the component which applies the API management capabilities like security, rate limiting, analytics, validation and etc. When a request is received by the router , that request is forwarded to the enforcer in order to perform the additional QoS factors like security and etc. Once the enforcer replied back to the router with an allowed response or a denied response then the router will either forward the request to the actual backend or reply back to the client with an error message respectively.

3. Adapter

Router and Enforcer have a data plane API that can be used to dynamically configure them. When an API needs to be deployed on the Choreo Connect we need to translate that API definition to the format understood by the Router(convert the API into routes) and Enforcer. The adapter is the component that is responsible for that. Adapter will pass the data to the both the router and the enforcer. There are two different ways API can be received by the adapter.

  1. Adapter can receive an API from APIM control plane(publisher)
  2. Adapter can receive APIs via pushing the API project from the command line tool APICTL

Choreo Connect can be used mainly in the follwoing two modes.

  1. Choreo Connect with API Manager as control plane
  2. Choreo Connect As a standalone gateway

Choreo Connect Request Flow

Top