-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP-START: Apache Kafka and JDK build matrix
. AK 2.5, 2.6 . Will also shadow build the latest version of AK . Includes shadow builds for 2.4 . Add JDK matrix (8 and 13) . Test to show all system properties
- Loading branch information
Showing
6 changed files
with
80 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
parallel-consumer-core/src/test/java/io/confluent/csid/utils/JavaEnvTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package io.confluent.csid.utils; | ||
|
||
import lombok.extern.slf4j.Slf4j; | ||
import org.assertj.core.presentation.StandardRepresentation; | ||
import org.junit.jupiter.api.Test; | ||
import org.slf4j.helpers.MessageFormatter; | ||
|
||
import java.util.Map; | ||
import java.util.Properties; | ||
|
||
import static io.confluent.csid.utils.StringTestUtils.pretty; | ||
|
||
@Slf4j | ||
class JavaEnvTest { | ||
|
||
/** | ||
* Used to check the java environment at runtime | ||
*/ | ||
@Test | ||
void checkJavaEnvironment() { | ||
log.error("Java all env: {}", pretty(System.getProperties().entrySet())); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
parallel-consumer-core/src/test/java/io/confluent/csid/utils/StringTestUtils.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package io.confluent.csid.utils; | ||
|
||
import lombok.experimental.UtilityClass; | ||
import org.assertj.core.presentation.StandardRepresentation; | ||
|
||
@UtilityClass | ||
public class StringTestUtils { | ||
|
||
public static final StandardRepresentation STANDARD_REPRESENTATION = new StandardRepresentation(); | ||
|
||
public static String pretty(Object properties) { | ||
return STANDARD_REPRESENTATION.toStringOf(properties); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters