kafka-ui: [Bug] Support older kafka versions (v0.11.0)
Describe the bug There is no topic list displayed. But when I display the consumers list I am able to navigate to topic for this consumer group.
There is a warning in logs
WARN [parallel-2] o.h.v.i.p.j.JavaBeanExecutable: 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
Set up Version:0.3.3 Run through docker compose
version: '3'
services:
magic:
container_name: kafka-ui
image: provectuslabs/kafka-ui
ports:
- "8080:8080"
environment:
- KAFKA_CLUSTERS_0_NAME=QA3
- KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=..
- KAFKA_CLUSTERS_0_READONLY=true
Steps to Reproduce
docker-compose up
Expected behavior See list of topics.
Logs
kafka-ui | 2022-02-04 12:43:05,887 INFO [parallel-1] o.a.k.c.u.AppInfoParser: Kafka version: 2.8.0
kafka-ui | 2022-02-04 12:43:05,887 INFO [parallel-1] o.a.k.c.u.AppInfoParser: Kafka commitId: ebb1d6e21cc92130
kafka-ui | 2022-02-04 12:43:05,888 INFO [parallel-1] o.a.k.c.u.AppInfoParser: Kafka startTimeMs: 1643978585885
kafka-ui | 2022-02-04 12:43:09,796 ERROR [kafka-admin-client-thread | adminclient-1] c.p.k.u.s.MetricsService: Failed to collect cluster QA3 info
kafka-ui | org.apache.kafka.common.errors.UnsupportedVersionException: Attempted to write a non-default includeSynonyms at version 0
kafka-ui | 2022-02-04 12:43:09,800 DEBUG [kafka-admin-client-thread | adminclient-1] c.p.k.u.s.ClustersMetricsScheduler: Metrics updated for cluster: QA3
kafka-ui | 2022-02-04 12:43:35,671 DEBUG [parallel-1] c.p.k.u.s.ClustersMetricsScheduler: Start getting metrics for kafkaCluster: QA3
kafka-ui | 2022-02-04 12:43:36,253 ERROR [kafka-admin-client-thread | adminclient-1] c.p.k.u.s.MetricsService: Failed to collect cluster QA3 info
kafka-ui | org.apache.kafka.common.errors.UnsupportedVersionException: The broker does not support DESCRIBE_LOG_DIRS
kafka-ui | 2022-02-04 12:43:36,253 DEBUG [kafka-admin-client-thread | adminclient-1] c.p.k.u.s.ClustersMetricsScheduler: Metrics updated for cluster: QA3
kafka-ui | 2022-02-04 12:43:42,902 WARN [parallel-2] o.h.v.i.p.j.JavaBeanExecutable: 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.
Additional context
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 18 (9 by maintainers)
@tzieleniewski supporting such an old version would be a pretty huge load on development, if even possible (I dunno which APIs are present for this version). Unfortunately we don’t have a bandwidth for this, but will consider it in the future.
Best wishes!