Updated on 2024-05-06 GMT+08:00

Connecting Mesher Applications to CSE

Unlike the microservice development framework, the Mesher capability is provided by ServiceStage. You must enable multi-language access to Service Mesh on ServiceStage.

This section describes how to connect HTTP applications to ServiceComb engines using Mesher. Mesher supports multiple languages. This section describes only the specifications for connecting Mesher applications to ServiceComb engines. For details about the sample code, see the following:

Prerequisites

An HTTP application (supporting multiple languages) has been developed.

Procedure

  1. Change ${IP:Port} in the URL called by the microservice to a service name.

    For example, if the microservice name is provider and the API is /hello, the URL is http://${IP:Port}/hello. For example:

    http://127.0.0.1:80/hello

    You need to change the called URL to:

    http://provider/hello

  2. Deploy components on ServiceStage, bind the ServiceComb engine, and connect the components to the ServiceComb engine. You can select the bound ServiceComb engine in Advanced Settings, click , and enter the listening port number of the application process to enable multi-language access to Mesher. For details, see Creating and Deploying a Component .

    If the component is deployed in a container, multi-language access to Service Mesh is supported. If the component is deployed on a VM, multi-language access to Service Mesh is not supported.