You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GH-2582: GlobalEmbedKafka compatible with native (#2593)
Fixes#2582
Even if we don't use Embedded Kafka in native image or even if Apache Kafka
broker (or Zookeeper) is not compatible, the `GlobalEmbeddedKafkaTestExecutionListener`
is still service-loaded by JUnit platform and according to build time some classes (`Logger`)
are initialized too early
* Refactor `GlobalEmbeddedKafkaTestExecutionListener` to initialize `Log` property
and check for `TestPlan.getConfigurationParameters()` method lazily already
in the `testPlanExecutionStarted()`
Copy file name to clipboardExpand all lines: spring-kafka-test/src/main/java/org/springframework/kafka/test/junit/GlobalEmbeddedKafkaTestExecutionListener.java
+13-20Lines changed: 13 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2022 the original author or authors.
2
+
* Copyright 2022-2023 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
0 commit comments