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 | A brief introduction to the MOSN workflow from a developer's perspective. | ||
Development environment | Describes the development environment and source code preparation required for plugin development. | ||
Describes the structure of the plugin scaffolding project. | |||
Provides a brief introduction to developing, compiling, debugging, and packaging plugins. | |||
Getting started | Provides a quick guide to the deployment and call flow after you develop an HTTP plugin. | ||
Introduces MOSN mecha, the plugin code generator. | |||
Demonstrates how to create an HTTP protocol plugin using MOSN mecha and enable the HTTP protocol extension in MOSN. | |||
Protocol extension | brpc protocol plugin | Demonstrates the deployment and call flow after you develop a private brpc protocol plugin. | |
Introduces the MOSN-based protocol extension API. | |||
Provides an in-depth explanation of the plugin principles for the standard Bolt protocol in the SOFA framework. | |||
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. | |||
This demo demonstrates how to run the brpc protocol locally. | |||
xrpc protocol plugin | Demonstrates the deployment and call flow after you develop a private XML-RPC protocol plugin. | ||
Introduces protocol access for Enterprise Service Bus (ESB) in finance scenarios. | |||
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. | |||
Demonstrates how to run the xrpc protocol plugin locally. | |||
ehttp protocol plugin | Demonstrates the deployment and call flow after you develop a private ehttp protocol 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 | Demonstrates the deployment and call flow after you develop an interceptor plugin. | ||
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 | Demonstrates the deployment and call flow after you develop the brpc-to-ehttp protocol transformation plugin. | ||
Introduces the protocol transformation plugin API. | |||
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 | Demonstrates the deployment and call flow after you develop a plugin to dynamically add properties to HTTP headers. | ||
Introduces the Dynamic Configuration API. | |||
Introduces the job for dynamically modifying HTTP headers. | |||
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 | Describes how to integrate the SkyWalking plugin. | ||
Describes how to integrate the Zipkin plugin. | |||
Plugin deployment and upgrades | Describes how to deploy and upgrade plugins using GoLand. | ||
Describes how to deploy and upgrade plugins offline using the command line. | |||