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
I've tried running master-labeled docker image and the issue still persists there
I'm running a supported version of the application which is listed here
Describe the bug (actual behavior)
I've encountered an issue while configuring multiple Kafka clusters in a Docker Compose environment for Kafka UI. It seems that the application requires the Kafka cluster environment variables (like KAFKA_CLUSTERS_N_NAME and KAFKA_CLUSTERS_N_BOOTSTRAPSERVERS) to be sequentially indexed without skipping any numbers. Specifically, if the sequence jumps (for example, from KAFKA_CLUSTERS_1_NAME directly to KAFKA_CLUSTERS_3_NAME without a KAFKA_CLUSTERS_2_NAME), Kafka UI does not recognize the configuration properly, leading to unexpected behavior or errors. Is this the intended behavior?
Expected Behavior
I expected Kafka UI to either handle non-sequential indexes gracefully by ignoring missing indexes.
Actual Behavior
Kafka UI seems to either crash or fail to display Kafka clusters correctly when the cluster configuration indexes are not sequential.
After this setup, if you run docker-compose up -d and try to access http://localhost:8080/, you will not be able to connect, and the container will crash shortly thereafter.
Steps to reproduce
Set up a Docker Compose file with Kafka UI service.
Configure the environment variables for multiple Kafka clusters, intentionally skipping the index number (e.g., define KAFKA_CLUSTERS_0_NAME, KAFKA_CLUSTERS_1_NAME, and then directly KAFKA_CLUSTERS_3_NAME).
Launch the Docker Compose environment.
Observe that Kafka UI either shows errors or does not display the clusters as expected.
Screenshots
No response
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Most likely, the app itself has nothing to do with how these are treated. This is rather handled by spring framework. Also, it's rather weird to use a numbered list with missing items within one, so I don't really find this an issue. Moreover, we do not recommend using env properties (at least, mostly) and recommend using yaml configs instead.
It seems there has been a misunderstanding regarding the issue I'm encountering with the Docker Compose setup for Kafka UI. This problem occurs when executing the docker-compose up -d command via the command line, independently of the Spring framework. Based on your response, I understand that using a numbered list with missing items might not be typical or recommended, and it seems this is expected behavior.
Issue submitter TODO list
master
-labeled docker image and the issue still persists thereDescribe the bug (actual behavior)
I've encountered an issue while configuring multiple Kafka clusters in a Docker Compose environment for Kafka UI. It seems that the application requires the Kafka cluster environment variables (like KAFKA_CLUSTERS_N_NAME and KAFKA_CLUSTERS_N_BOOTSTRAPSERVERS) to be sequentially indexed without skipping any numbers. Specifically, if the sequence jumps (for example, from KAFKA_CLUSTERS_1_NAME directly to KAFKA_CLUSTERS_3_NAME without a KAFKA_CLUSTERS_2_NAME), Kafka UI does not recognize the configuration properly, leading to unexpected behavior or errors. Is this the intended behavior?
Expected Behavior
I expected Kafka UI to either handle non-sequential indexes gracefully by ignoring missing indexes.
Actual Behavior
Kafka UI seems to either crash or fail to display Kafka clusters correctly when the cluster configuration indexes are not sequential.
Your installation details
After this setup, if you run
docker-compose up -d
and try to accesshttp://localhost:8080/
, you will not be able to connect, and the container will crash shortly thereafter.Steps to reproduce
Set up a Docker Compose file with Kafka UI service.
Configure the environment variables for multiple Kafka clusters, intentionally skipping the index number (e.g., define KAFKA_CLUSTERS_0_NAME, KAFKA_CLUSTERS_1_NAME, and then directly KAFKA_CLUSTERS_3_NAME).
Launch the Docker Compose environment.
Observe that Kafka UI either shows errors or does not display the clusters as expected.
Screenshots
No response
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: