Skip to content

clusters connected to kafbat-ui keeps going offline #944

@fantastywusheng

Description

@fantastywusheng

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running main-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)

The JDK version of my Kafbat-UI is "java version '21.0.6' 2025-01-21 LTS", and the Kafbat version is 4cf17a0 v1.1.0, the JDK version of my kafka broker is jdk11.

The configuration I'm using is as follows named ./api/src/main/resources/application.yml.
auth:
type: DISABLED

management:
endpoint:
info:
enabled: true
health:
enabled: true
endpoints:
web:
exposure:
include: "info,health,prometheus"

dynamic.config.enabled: true

logging:
level:
root: INFO
io.kafbat.ui: DEBUG
reactor.netty.http.server.AccessLog: INFO
org.hibernate.validator: WARN

The command I used to start it is java -Dspring.config.additional-location=./api/src/main/resources/application.yml --add-opens java.rmi/javax.rmi.ssl=ALL-UNNAMED -jar api-v1.1.0.jar

Expected behavior

The log shows that it started normally, and the page can also be opened normally. However, the "configure new cluster" button is grayed out and unavailable. By referring to the documentation, I learned that a cluster can be created through the URL /ui/clusters/create-new-cluster, and I successfully created one. The log already indicates that the collection of relevant cluster metrics has started, but there is still no cluster shown on the page.

Your installation details

java -Dspring.config.additional-location=./api/src/main/resources/application.yml --add-opens java.rmi/javax.rmi.ssl=ALL-UNNAMED -jar api-v1.1.0.jar

Steps to reproduce

none

Screenshots

Image

Logs

DEBUG [boundedElastic-9] i.k.u.s.m.JmxMetricsRetriever: 1263 metrics collected for service:jmx:rmi:///jndi/rmi://192.168.10.117:9793/jmxrmi
2025-03-18 17:17:23,950 DEBUG [boundedElastic-4] i.k.u.s.m.JmxMetricsRetriever: 1263 metrics collected for service:jmx:rmi:///jndi/rmi://192.168.10.117:9793/jmxrmi
2025-03-18 17:17:23,979 DEBUG [boundedElastic-7] i.k.u.s.m.JmxMetricsRetriever: 1263 metrics collected for service:jmx:rmi:///jndi/rmi://192.168.10.117:9793/jmxrmi
2025-03-18 17:17:24,009 DEBUG [boundedElastic-14] i.k.u.s.m.JmxMetricsRetriever: 1263 metrics collected for service:jmx:rmi:///jndi/rmi://192.168.10.117:9793/jmxrmi
2025-03-18 17:17:24,013 DEBUG [boundedElastic-14] i.k.u.s.ClustersStatisticsScheduler: Metrics updated for cluster: local

Additional context

none

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions