rpk transform build

Build a data transform.

This command looks in the current working directory for a transform.yaml file. It installs the appropriate build plugin, then builds a .wasm file.

When invoked, it passes extra arguments directly to the underlying toolchain.

For example, to add debug symbols and use the asyncify scheduler for tinygo:

rpk transform build -- -scheduler=asyncify -no-debug=false

Language-specific details:

TinyGo - By default, TinyGo are release builds (-opt=2) and goroutines are disabled, for maximum performance.


rpk transform build [flags]


Value Type Description

-h, --help


Help for build.



Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD, and /etc/redpanda/redpanda.yaml.

-X, --config-opt


Override rpk configuration settings. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail.



Profile to use. See rpk profile for more details.

-v, --verbose


Enable verbose logging.