Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ protected void handleTopicMetadataRequest(KafkaHeaderAndRequest metadataHar,
// This map is used to find the original topic name. Both key and value don't have the "-partition-" suffix.
final Map<String, String> fullTopicNameToOriginal = (request.topics() == null)
? Collections.emptyMap()
: request.topics().stream().collect(
: request.topics().stream().distinct().collect(
Collectors.toMap(
topic -> new KopTopic(topic, namespacePrefix).getFullName(),
topic -> topic
Expand Down