Skip to content

Commit 4968758

Browse files
committed
Remove logger from KafkaEmbedded
https://build.spring.io/browse/SK-SK13X-60/
1 parent 88a28ce commit 4968758

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

spring-kafka-test/src/main/java/org/springframework/kafka/test/rule/KafkaEmbedded.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -492,17 +492,13 @@ public void onPartitionsRevoked(Collection<TopicPartition> partitions) {
492492
@Override
493493
public void onPartitionsAssigned(Collection<TopicPartition> partitions) {
494494
consumerLatch.countDown();
495-
if (logger.isDebugEnabled()) {
496-
logger.debug("partitions assigned: " + partitions);
497-
}
498495
}
499496

500497
});
501498
consumer.poll(0); // force assignment
502499
assertThat(consumerLatch.await(30, TimeUnit.SECONDS))
503500
.as("Failed to be assigned partitions from the embedded topics")
504501
.isTrue();
505-
logger.debug("Subscription Initiated");
506502
}
507503

508504
}

0 commit comments

Comments
 (0)