Component Interposition
The component-interposition repository demonstrates how to inject middleware into Wasm components using the
splicer tool. These components can be single services OR service-chained compositions. Through defining
some simple YAML configurations, splicer does the hard work of planning the middleware interposition given
an arbitrary composition.
The services and middlewares used in this repository to demonstrate the interposition capability do the most basic operation of printing to the console to not distract from the capability shown here. Next, we plan to use this technique, to port production-ready middleware such as OpenTelemetry observability, encryption, and security policy enforcement across service compositions.
Demos
"We can do fascinating things with [component interposition]: observability, security policies, really whatever you want to! You have full control over the incoming and outgoing requests."