Skip to content

Commit

Permalink
small improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Jork Zijlstra committed May 16, 2021
1 parent fe6e264 commit 9757fd7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/kafdrop/service/KafkaMonitorImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ public List<TopicVO> getTopics() {

@Override
public List<TopicVO> getTopicsWithOffsets() {
final var topicVos = getTopicMetadata().values().stream()
.sorted(Comparator.comparing(TopicVO::getName))
.collect(Collectors.toList());
final var topicVos = getTopics();

setTopicPartitionSizes(topicVos);

Expand Down

0 comments on commit 9757fd7

Please sign in to comment.