Skip to content

Commit 85061a4

Browse files
committed
Fix Previous Commit
1 parent 9b97f46 commit 85061a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: spring-kafka/src/main/java/org/springframework/kafka/core/KafkaAdmin.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ private void addOrModifyTopicsIfNeeded(AdminClient adminClient, Collection<NewTo
271271
List<NewTopic> toCheck = new LinkedList<>(topics);
272272
toCheck.removeAll(topicsToAdd);
273273
Map<ConfigResource, List<ConfigEntry>> mismatchingConfigs =
274-
checkTopicsForConfigMismatches(adminClient, topics);
274+
checkTopicsForConfigMismatches(adminClient, toCheck);
275275
if (!mismatchingConfigs.isEmpty()) {
276276
adjustConfigMismatches(adminClient, topics, mismatchingConfigs);
277277
}

0 commit comments

Comments
 (0)