Kafka security config params not being picked up from env vars (channel config)
See original GitHub issueDescribe the bug
Kafka configuration on the channel does not get picked up when using environment variables.
This seems to be a variant of https://github.com/quarkusio/quarkus/issues/9947
When using channel specific configuration (e.g. MP_MESSAGING_INCOMING_<channel>_SASL_JAAS_CONFIG
) it doesn’t get picked up. But it works when using e.g. the YAML file.
Expected behavior
Should work with environment variables as well.
Actual behavior
Does not work.
How to Reproduce?
- Create a working configuration using Kafka configuration in the channel section
- Convert to env-vars according to the micro-profile specification
Output of uname -a
or ver
Linux brocken 5.15.13-200.fc35.x86_64 #1 SMP Wed Jan 5 16:39:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Output of java -version
openjdk version “11.0.13” 2021-10-19 OpenJDK Runtime Environment 18.9 (build 11.0.13+8) OpenJDK 64-Bit Server VM 18.9 (build 11.0.13+8, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.6.3.Final
Build tool (ie. output of mvnw --version
or gradlew --version
)
Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739)
Additional information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (7 by maintainers)
Hm, indeed I experiences this with env-vars. Not sure about env-files. Will correct the title.
Closing, as we would need a reproducer.
I used a similar code for a devoxx university about Kafka I gave 2 weeks ago. and everything worked OOTB.