Docs Self-Managed Reference rpk Commands rpk transform rpk transform deploy This is documentation for Self-Managed v23.3. To view the latest available version of the docs, see v24.2. rpk transform deploy Deploy a data 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. If the input and output topics are specified in the configuration file, those are used. Otherwise, the topics can be specified on the command line using the --input-topic and --output-topic flags. Example To deploy Wasm files directly without a transform.yaml file: rpk transform deploy --file transform.wasm --name myTransform \ --input-topic my-topic-1 \ --output-topic my-topic-2 Environment variables can be specified for the transform using the --var flag, these are separated by an equals for example: --var=KEY=VALUE. The --var flag can be repeated to specify multiple variables like so: rpk transform deploy --var FOO=BAR --var FIZZ=BUZZ Usage rpk transform deploy [WASM] [flags] Flags Value Type Description --file string The WebAssembly module to deploy. -h, --help - Help for deploy. -i, --input-topic string The input topic to apply the transform to. --name string The name of the transform. -o, --output-topic string The output topic to write the transform results to. --var - environmentVariable Specify an environment variable in the form of KEY=VALUE. --config string Redpanda or rpk config file; default search paths are /var/lib/redpanda/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, 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. Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution rpk transform delete rpk transform init