Skip to content

Commit

Permalink
Fix for scala 2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon Bogusz committed Oct 30, 2024
1 parent 515a8ee commit 17b9df4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ abstract class KafkaUniversalComponentTransformer[T, TN <: TopicName: TopicValid
// TODO: previously schemaRegistryClient made validation
case Some(topicsFromKafka) =>
// For test purposes mostly
topicSelectionStrategy.getTopics(schemaRegistryClient).map(_.appendedAll(topicsFromKafka).distinct)
topicSelectionStrategy
.getTopics(schemaRegistryClient)
.map(fromRegistry => (fromRegistry ++ topicsFromKafka).distinct)
case None => topicSelectionStrategy.getTopics(schemaRegistryClient)
}

Expand Down

0 comments on commit 17b9df4

Please sign in to comment.