Cloud

rpk transform

Develop, build, deploy, and manage WebAssembly (Wasm) data transforms for Redpanda.

Usage

rpk transform [flags]

Aliases

rpk wasm
rpk transfrom

Subcommands

Command Description

rpk transform build

Build a transform. This command looks in the current working directory for a transform.yaml file.

rpk transform delete

Delete a data transform.

rpk transform deploy

Deploy a transform. When run in the same directory as a transform.yaml, this reads the configuration file, then looks for a .wasm file with the same name as your project.

rpk transform init

Initialize a new data transform project. Creates a new directory with the required project files.

rpk transform list

List data transforms. This command lists all data transforms in a cluster, as well as showing the state of a individual transform processor, such as if it’s errored or how many records are pending to be processed (lag).

rpk transform logs

View logs for a data transform. Streams STDOUT and STDERR output captured during runtime to your terminal.

rpk transform pause

Pause a data transform. This command suspends execution of the specified transform without removing it from the system.

rpk transform resume

Resume a data transform. This command resumes execution of the specified data transform, if it was previously paused.

Global flags

Value Type Description

--config

string

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

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.