You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have found that global options that were in the Benthos binary no longer work when calling a command.
For example this command we used to run.
docker run ghcr.io/benthosdev/benthos -c /benthos.yaml --resources '/resources/*.yaml' streams '/streams/*.yaml'
This starts fine in streams mode.
When running now with the new new redpanda image
docker run docker.redpanda.com/redpandadata/redpanda connect -c /benthos.yaml --resources '/resources/*.yaml' streams '/streams/*.yaml'
We get
Incorrect Usage: flag provided but not defined: -c
NAME:
redpanda-connect streams - Run Redpanda Connect in streams mode
USAGE:
redpanda-connect streams command [command options]
DESCRIPTION:
Run Redpanda Connect in streams mode, where multiple pipelines can be executed in a
single process and can be created, updated and removed via REST HTTP
endpoints.
redpanda-connect streams
redpanda-connect -c ./root_config.yaml streams
redpanda-connect streams ./path/to/stream/configs ./and/some/more
redpanda-connect -c ./root_config.yaml streams ./streams/*.yaml
In streams mode the stream fields of a root target config (input, buffer,
pipeline, output) will be ignored. Other fields will be shared across all
loaded streams (resources, metrics, etc).
For more information check out the docs at:
https://docs.redpanda.com/redpanda-connect/guides/streams_mode/about
COMMANDS:
help, h Shows a list of commands or help for one command
OPTIONS:
--no-api Disable the HTTP API for streams mode (default: false)
--prefix-stream-endpoints Whether HTTP endpoints registered by stream configs should be prefixed with the stream ID (default: true)
--help, -h show help
Same issues when running the streams command in help for streams above.
We have found that using the global -X flag seems to work.
docker run docker.redpanda.com/redpandadata/redpanda connect -X /benthos.yaml -X '/resources/*.yaml' streams '/streams/*.yaml'
Any idea if the plan is to use -X going forward or will the old Benthos global flags be usable again in the rpk binary?
The text was updated successfully, but these errors were encountered:
Hey @trahim, is this with the latest version of the redpanda docker container? The issue has been fixed since the first release of rpk connect, but it's possible there are still some rough edges in build artifacts.
We have found that global options that were in the Benthos binary no longer work when calling a command.
For example this command we used to run.
This starts fine in streams mode.
When running now with the new new redpanda image
We get
Same issues when running the streams command in help for streams above.
We have found that using the global
-X
flag seems to work.Any idea if the plan is to use
-X
going forward or will the old Benthos global flags be usable again in the rpk binary?The text was updated successfully, but these errors were encountered: