You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pluggable Payload Decoder with WebAssembly Support
Summary
Introduce support for pluggable payload decoders in the Web UI to enable decoding of binary protocols into JSON, leveraging WebAssembly (WASM) modules. This feature would allow users to provide custom decoders for payload inspection and visualization in human-readable formats.
Motivation
User Use Case: Users working with binary protocols often need to inspect payloads in a structured, human-readable format. Currently, the Web UI lacks the ability to decode binary payloads beyond basic formats like Base64.
Flexibility: Adding support for pluggable decoders would enable users to decode payloads using custom or specialized serialization protocols.
Efficiency: Instead of introducing server-side changes, the feature allows decoders to operate entirely in the UI, leveraging WASM for performance and portability.
Scalability: Decoders implemented in WASM can be packaged and reused across multiple applications.
Design Proposal
1. WASM-Based Pluggable Decoders
Implement a mechanism to load and execute WebAssembly modules in the Web UI.
Define a standard interface for decoder modules to interact with the Web UI. For example:
Pluggable Payload Decoder with WebAssembly Support
Summary
Introduce support for pluggable payload decoders in the Web UI to enable decoding of binary protocols into JSON, leveraging WebAssembly (WASM) modules. This feature would allow users to provide custom decoders for payload inspection and visualization in human-readable formats.
Motivation
Design Proposal
1. WASM-Based Pluggable Decoders
2. Codec Identification
Add support for a custom codec tag in message headers:
3. Schema Registry
4. Built-in Support for Common Formats
Workflow Example
Benefits
Potential Challenges
Alternatives Considered
Next Steps
References
The text was updated successfully, but these errors were encountered: