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
bash

Language-specific details:

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

Usage

rpk transform build [flags]
bash

Flags

Value Type Description

-h, --help

-

Help for build.

--config

string

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

-X, --config-opt

stringArray

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

--profile

string

Profile to use. See rpk profile for more details.

-v, --verbose

-

Enable verbose logging.