provectus / kafka-ui

Open-Source Web UI for Apache Kafka Management
Apache License 2.0
9.86k stars 1.19k forks source link

Topic not loading on Kafka UI #1782

Closed Mindgap1 closed 2 years ago

Mindgap1 commented 2 years ago

Describe the bug When i try to see the list of topics, the page loading but nothing happen. Then i receive "no topics found". Everything is working in the Kafka UI. Only topics are not listed.

Set up I run Kafka UI (38c4cf7) with docker-compose and kafka istance is running with Bitnami image with latest version of kafka(3.1) and zookeeper(3.7).

This is kafka ui compose file: Immagine 2022-03-31 101026

Steps to Reproduce I start the kafka ui container with "docker-compose up" then i go to localhost:8080 and click on "topics" then this happened Immagine 2022-03-31 100208 After loading it goes in timeout with this: Immagine 2022-03-31 100246

Expected behavior On container terminal i receive: "HV000254: Missing parameter metadata for TopicColumnsToSortDTO(String, int, String), which declares implicit or synthetic parameters. Automatic resolution of generic type information for method parameters may yield incorrect results if multiple parameters have the same erasure. To solve this, compile your code with the '-parameters' flag"

Immagine 2022-03-31 100923

On network tab in my browser i receive ERROR 500 Immagine 2022-03-31 100408

I don't know really where to add this -parameters flag and i don't know how to fix this error.

Additional context The strange things is that everything is fine with kafka ui except for topics. KSQL DB and connect are working too!

github-actions[bot] commented 2 years ago

Hello there Mindgap1! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

Haarolean commented 2 years ago

Hey, thanks for reaching out. Please share the full application log, there should be a stacktrace. Also, some details (request URL for example) from browser's developer console would be nice to see.

Mindgap1 commented 2 years ago

I edited my message with screenshots, hope they'll be useful

Haarolean commented 2 years ago

@Mindgap1 thanks, they are. We'll take a look.

iliax commented 2 years ago

Hi @Mindgap1 ! can you please share full docker-compose file that you run (excluding secrets and non-kafka-related services)?

Mindgap1 commented 2 years ago

Hi @Mindgap1 ! can you please share full docker-compose file that you run (excluding secrets and non-kafka-related services)?

Yeah sure! Here it is the compose file (TXT - Because can't format correctly and paste here doesn't work properly due to bad format) for kafka environment:

kafka-compose.txt

iliax commented 2 years ago

Hello @Mindgap1, applied couple of fixes that can solve your problem - pls check docker image provectuslabs/kafka-ui:master

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because no requested feedback has been provided. It will be closed if no further activity occurs. Thank you for your contributions.

petebright commented 11 months ago

Issue is still not yet resolved,

loading-failed

![Uploading fails-to-load.png…]()