SDF CLI (sdf)
Stateful Dataflows (sdf) is a binary, shipped with fluvio, that helps developers build, test, and deploy packages and dataflows.
Install SDF
- Download [fluvio version manager (fvm)], the package manager for fluvio and sdf:
$ curl -fsS https://hub.infinyon.cloud/install/install.sh | bash
- Install the preview release:
fvm install sdf-beta5
SDF Commands
The command line interface is used to build and test packages, and run the dataflow.
Dataflow commands
Package commands
- sdf generate - generate the code for a package
- sdf build - build the code
- sdf test - test the code
- sdf clean - removes the package artifacts
Other commands
- sdf setup - updates the prerequisites
- sdf version - retrieves the version number
- sdf log - retrieves the runtime logs and print messages
- sdf worker - manages SDF workers