-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Env vars are not read anymore starting with 4.39.0 #2992
Comments
Hi @venatir 👋 I tried reproducing it on my end but no luck. Seems to work OK. How are you running that Docker container? Can you please share the full command line? |
@mihaitodor Here's a way to replicate. 4.38.0 works. 4.39.0 doesn't
|
Confirmed recreated on my side when upgrading from benthos/4.6 to redpanda connect 4.39 Example codebase/docker-compose setup here: https://github.com/choult/benthos-pres/blob/rp-connect-2992/docker-compose.yml Switching to 4.38 for all containers works as expected |
Small update on this issue: The now deprecated flag |
$ docker run -it --rm -e TEST="test" -v ./foo:/c redpandadata/connect:4.39.0 run /c/config.yaml
INFO Running main config from specified file @service=redpanda-connect benthos_version=v4.39.0 path=/c/config.yaml
INFO Listening for HTTP requests at: http://0.0.0.0:4195 @service=redpanda-connect
INFO Input type stdin is now active @service=redpanda-connect label="" path=root.input
INFO Launching a Redpanda Connect instance, use CTRL+C to close @service=redpanda-connect
INFO Output type stdout is now active @service=redpanda-connect label="" path=root.output
sqdsqd
INFO TEST: test @service=redpanda-connect custom_source=true label="" path=root.pipeline.processors.0
sqdsqd
^CINFO Received SIGINT, the service is closing @service=redpanda-connect it seems a problem when you don't use the command BTW I can't get the |
Thanks @mihaitodor. I'll use run. @peczenyj , the -c flag, while deprecated still works. See my example above #2992 (comment) |
It really wasn't meant to break and the intent is to keep it around until at least another major version bump given how many people used it before I think @peczenyj got tripped up by the template docs which had a bug that was fixed here. If there's some other corner case, please let us know. |
How to replicate:
Here's a sample file to test
This has been tested in the 4.38.0 and 4.39.0 tags for docker - redpandadata/connect in the dockerhub repository
The text was updated successfully, but these errors were encountered: