Preface

更新时间:
复制 MD 格式

This training introduces Service Mesh protocol plugins and feature plugins. Protocol plugins allow you to connect proprietary protocols for different scenarios. Feature plugins provide capabilities such as protocol transformation, interceptors, and dynamic configuration. These plugins help you integrate systems efficiently and cost-effectively.

Training objectives

  • Provide customers in the external ecosystem with extension points through the plugin mechanism and offer comprehensive productization capabilities.

  • Deliver a standard product that allows customers to perform custom development based on this training.

Training schedule

The training schedule is as follows:

Technology category

Course content

Course description

Service Mesh background

How Service Mesh works

A brief introduction to the MOSN workflow from a developer's perspective.

Development environment

Prepare the development environment

Describes the development environment and source code preparation required for plugin development.

Scaffolding project introduction

Describes the structure of the plugin scaffolding project.

Compile, debug, and package

Provides a brief introduction to developing, compiling, debugging, and packaging plugins.

Getting started

Upload and deploy the HTTP plugin

Provides a quick guide to the deployment and call flow after you develop an HTTP plugin.

Install the MOSN mecha GoLand plugin

Introduces MOSN mecha, the plugin code generator.

Create an HTTP protocol extension using MOSN mecha

Demonstrates how to create an HTTP protocol plugin using MOSN mecha and enable the HTTP protocol extension in MOSN.

Protocol extension

brpc protocol plugin

Upload and deploy the brpc protocol plugin

Demonstrates the deployment and call flow after you develop a private brpc protocol plugin.

xProtocol API details

Introduces the MOSN-based protocol extension API.

In-depth analysis of the built-in Bolt protocol plugin

Provides an in-depth explanation of the plugin principles for the standard Bolt protocol in the SOFA framework.

Exercise: Complete brpc development using MOSN mecha

Introduces the brpc protocol and describes the development steps and notes for the brpc protocol plugin. You can use this information to independently enable the brpc protocol extension in MOSN.

How to run the brpc protocol plugin locally

This demo demonstrates how to run the brpc protocol locally.

xrpc protocol plugin

Upload and deploy the xrpc protocol plugin

Demonstrates the deployment and call flow after you develop a private XML-RPC protocol plugin.

In-depth analysis of the ESB XML protocol plugin

Introduces protocol access for Enterprise Service Bus (ESB) in finance scenarios.

Exercise: Complete xrpc development using MOSN mecha

Introduces the xrpc protocol and describes the development steps and notes for the xrpc protocol plugin. You can use this information to independently enable the xrpc protocol extension in MOSN.

How to run the xrpc protocol plugin locally

Demonstrates how to run the xrpc protocol plugin locally.

ehttp protocol plugin

Upload and deploy the ehttp protocol plugin

Demonstrates the deployment and call flow after you develop a private ehttp protocol plugin.

In-depth analysis of the HTTP protocol extension plugin

Introduces the principles of HTTP protocol extension.

Exercise: Complete ehttp plugin development using MOSN mecha

Explains how to parse the service identity in the HTTP message body. This section also describes the development steps and notes for the ehttp protocol. You can use this information to independently enable the ehttp protocol extension in MOSN.

How to run the plugin for parsing HTTP message bodies locally

Demonstrates how to run the ehttp message body plugin locally.

Interceptors

Upload and deploy the HTTP interceptor plugin

Demonstrates the deployment and call flow after you develop an interceptor plugin.

Filter API details

Introduces the interceptor plugin API.

Exercise: Complete authentication development using MOSN mecha

Introduces authentication interceptors and describes the steps and notes for developing them. You can use this information to independently implement a simple authentication extension in MOSN.

How to run a simple authentication interceptor plugin locally

Demonstrates how to run the authentication interceptor plugin locally.

Protocol transformation

Upload and deploy the brpc-to-ehttp plugin

Demonstrates the deployment and call flow after you develop the brpc-to-ehttp protocol transformation plugin.

Transcoder API details

Introduces the protocol transformation plugin API.

Bolt and Spring Cloud transformation

Introduces how to transform between the Bolt and Spring Cloud protocols.

Exercise: Complete a brpc-to-ehttp protocol call using MOSN mecha

Demonstrates how to perform protocol transformation between brpc and ehttp. You can use this information to independently complete the protocol transformation exercise in MOSN.

Dynamic configuration

Upload and deploy the dynamic HTTP header plugin

Demonstrates the deployment and call flow after you develop a plugin to dynamically add properties to HTTP headers.

Dynamic Configuration API

Introduces the Dynamic Configuration API.

Exercise: Dynamically modify HTTP headers

Introduces the job for dynamically modifying HTTP headers.

Job development demo

Introduces the steps and notes for developing dynamic configurations. You can use this information to independently develop a feature that adds dynamic configuration property values to HTTP headers.

Observability plugins

Easily integrate SkyWalking observability capabilities

Describes how to integrate the SkyWalking plugin.

Easily integrate Zipkin observability capabilities

Describes how to integrate the Zipkin plugin.

Plugin deployment and upgrades

Deploy and upgrade plugins using GoLand

Describes how to deploy and upgrade plugins using GoLand.

Deploy and upgrade plugins offline using the command line

Describes how to deploy and upgrade plugins offline using the command line.