rpk connect create

Prints a new Redpanda Connect config to stdout containing specified components according to an expression. The expression must take the form of three comma-separated lists of inputs, processors and outputs, divided by forward slashes:

redpanda-connect create stdin/bloblang,awk/nats redpanda-connect create file,http_server/protobuf/http_client.

If the expression is omitted a default config is created.

Usage

rpk connect create [flags]

Examples

This section provides examples of how to use rpk connect create.

Create a config with stdin input, bloblang/awk processor, and nats output.

rpk connect create stdin/bloblang,awk/nats

Create a config with file/http_server inputs, protobuf processor, and http_client output.

rpk connect create file,http_server/protobuf/http_client

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.