-
-
Notifications
You must be signed in to change notification settings - Fork 142
Kafka-UI does not correctly support configuring clusters via environment variables (binding failures) #1045
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
Comments
Hi Heniland! 👋 Welcome, and thank you for opening your first issue in the repo! Please wait for triaging by our maintainers. As development is carried out in our spare time, you can support us by sponsoring our activities or even funding the development of specific issues. If you plan to raise a PR for this issue, please take a look at our contributing guide. |
How do you see this possible? |
@Haarolean Thank you. my question has two part. 1 - Only
Is this possible? 2 - MIXED
and use it on ENV (like
|
|
Okay let's drop 2 and thank you for the explanation. BUT i have a problem with 1 too No mater what i put in the ENV, I always get the following error.
take a look at this full output from the above example we talked
|
Can you try a config from here? |
@Haarolean First of all, I really appreciate your quick response. thank you for that. To give you the full picture: I'm not using Docker Compose; instead, I have a managed AWS cluster setup. Cluster: AWS MSK (version 3.6.1) Regarding the link you shared, I didn’t notice any configuration differences compared to what I already had. Could you please point me to something specific to try? For completeness, even with |
My guess is that since this config works with docker compose, this should work elsewhere => meaning your env vars are probably borked. Can you output |
|
@Heniland can you try |
Further user feedback is requested. Please reply within 7 days or we might close the issue. |
No feedback received within 7 days. Auto closing. |
@Haarolean It's working now, Thank you |
Uh oh!
There was an error while loading. Please reload this page.
Issue submitter TODO list
main
-labeled docker image and the issue still persists thereDescribe the bug (actual behavior)
Kafka-UI does not correctly support configuring clusters purely through environment variables.
When providing cluster connection information (name, bootstrapServers, security.protocol, sasl.jaas.config, etc.) via environment variables, the application fails to start due to Spring Boot binding errors.
This severely limits the ability to use Kafka-UI in cloud-native deployments where secrets and configs are dynamically injected.
Expected behavior
Kafka-UI should fully support defining clusters via environment variables, matching the documented environment variable naming conventions.
It should allow overriding individual cluster fields (such as sasl.jaas.config) via environment variables, merging them cleanly with any static configuration provided.
Your installation details
installed with helm version 1.4.11
Steps to reproduce
I used [AWS Secrets Manager] -> [ExternalSecret] -> [Kafka-UI Pod] (This step works, I added it here for completeness)
NOTE: I used ENV like "KAFKA_CLUSTERS_4_" because i already have a static configuration and they all are working. the motivation for ENV is to pass the
password
fromExternalSecret
.Screenshots
No response
Logs
Additional context
Spring Boot v3.4.4
Spring v6.2.5
The text was updated successfully, but these errors were encountered: