SmartModules come equipped with pre-built intelligence and capabilities, making them readily usable even for users with limited technical expertise. By leveraging these modules, users can automate repetitive tasks, orchestrate data flows, and enable advanced functionalities without requiring deep technical knowledge or extensive coding.
By utilizing WebAssembly, SmartModules provide a secure and isolated environment for executing custom code. This ensures that the modules run safely within the Fluvio ecosystem, preventing potential security risks or conflicts with the underlying system.
The beauty of SmartModules lies in their flexibility and adaptability. Users can configure them to suit their specific needs by adjusting parameters and settings. Producers and consumers can use SmartModules in order to shape data on both the client-side or server-side. This empowers individuals to tailor the behavior of the modules to match their unique requirements, all without writing complex code or dealing with intricate technical details.
See the Transformation Chaining page for a more detailed explanation
You can define a SmartModule chain to use with
smdk with a yaml file.
transforms: - uses: email@example.com with: spec: - operation: shift spec: fact: "animal.fact" length: "length" - uses: firstname.lastname@example.org with: regex: "[Cc]at"
You can pass this file to the CLI with the
Examples on how to use SmartModules in a pipeline: