diff --git a/src/main/java/kafdrop/service/KafkaMonitorImpl.java b/src/main/java/kafdrop/service/KafkaMonitorImpl.java index 9aceecd1..b2b827a5 100644 --- a/src/main/java/kafdrop/service/KafkaMonitorImpl.java +++ b/src/main/java/kafdrop/service/KafkaMonitorImpl.java @@ -108,9 +108,7 @@ public List getTopics() { @Override public List getTopicsWithOffsets() { - final var topicVos = getTopicMetadata().values().stream() - .sorted(Comparator.comparing(TopicVO::getName)) - .collect(Collectors.toList()); + final var topicVos = getTopics(); setTopicPartitionSizes(topicVos);