rpk connect echo
Parse a config file and echo back a normalized version. This command is useful for sanity checking a config if it isn’t behaving as expected, as it shows you a normalised version after environment variables have been resolved.
Examples:
rpk connect echo ./config.yaml | less
rpk connect echo --set 'input.generate.mapping=root.id = uuid_v4()'
Flags
| Value | Type | Description |
|---|---|---|
|
strings |
set a field (identified by a dot path) in the main configuration file, for example, "metrics.type=prometheus". |
|
strings |
pull in extra resources from a file, which can be referenced the same as resources defined in the main config, supports glob patterns (requires quotes). |
|
strings |
import environment variables from a dotenv file. |
|
strings |
EXPERIMENTAL: import Redpanda Connect templates, supports glob patterns (requires quotes). |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |