Skip to content

Commit

Permalink
deps: fix kafka floor JRE to 8 and updates all libs to latest (#261)
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <adrian@tetrate.io>
  • Loading branch information
codefromthecrypt committed Apr 10, 2024
1 parent 16686ce commit 939b6e4
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ final class ActiveMQContainer extends GenericContainer<ActiveMQContainer> {
static final int ACTIVEMQ_PORT = 61616;

ActiveMQContainer() {
super(parse("ghcr.io/openzipkin/zipkin-activemq:3.0.6"));
super(parse("ghcr.io/openzipkin/zipkin-activemq:3.1.1"));
withExposedPorts(ACTIVEMQ_PORT);
waitStrategy = Wait.forListeningPorts(ACTIVEMQ_PORT);
withStartupTimeout(Duration.ofSeconds(60));
Expand Down
2 changes: 1 addition & 1 deletion amqp-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<module.name>zipkin2.reporter.amqp</module.name>

<main.basedir>${project.basedir}/..</main.basedir>
<amqp-client.version>5.20.0</amqp-client.version>
<amqp-client.version>5.21.0</amqp-client.version>
<!-- Last pre-1.8 version -->
<old-amqp-client.version>4.12.0</old-amqp-client.version>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class RabbitMQContainer extends GenericContainer<RabbitMQContainer> {
static final int RABBIT_PORT = 5672;

RabbitMQContainer() {
super(parse("ghcr.io/openzipkin/zipkin-rabbitmq:3.0.6"));
super(parse("ghcr.io/openzipkin/zipkin-rabbitmq:3.1.1"));
withExposedPorts(RABBIT_PORT);
waitStrategy = Wait.forLogMessage(".*Server startup complete.*", 1);
withStartupTimeout(Duration.ofSeconds(60));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class KafkaSenderBenchmarks extends SenderBenchmarks {

static final class KafkaContainer extends GenericContainer<KafkaContainer> {
KafkaContainer() {
super(parse("ghcr.io/openzipkin/zipkin-kafka:3.0.6"));
super(parse("ghcr.io/openzipkin/zipkin-kafka:3.1.1"));
waitStrategy = Wait.forHealthcheck();
// Kafka broker listener port (19092) needs to be exposed for test cases to access it.
addFixedExposedPort(KAFKA_PORT, KAFKA_PORT, InternetProtocol.TCP);
Expand Down
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@

<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<version>3.2.2</version>
<executions>
<execution>
<id>sign-artifacts</id>
Expand Down
10 changes: 5 additions & 5 deletions kafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<!-- recent clients can talk to old 0.10 brokers -->
<version>3.6.1</version>
<version>3.7.0</version>
</dependency>

<dependency>
Expand All @@ -58,10 +58,10 @@
<profile>
<id>release</id>
<properties>
<!-- Kafka 0.11+ is Java 1.7 bytecode -->
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.release>7</maven.compiler.release>
<!-- Kafka 0.11+ is Java 8 bytecode -->
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.release>8</maven.compiler.release>
</properties>
<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ final class KafkaContainer extends GenericContainer<KafkaContainer> {
static final int KAFKA_PORT = 19092;

KafkaContainer() {
super(parse("ghcr.io/openzipkin/zipkin-kafka:3.0.6"));
super(parse("ghcr.io/openzipkin/zipkin-kafka:3.1.1"));
waitStrategy = Wait.forHealthcheck();
// Kafka broker listener port (19092) needs to be exposed for test cases to access it.
addFixedExposedPort(KAFKA_PORT, KAFKA_PORT, InternetProtocol.TCP);
Expand Down
2 changes: 1 addition & 1 deletion libthrift/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
common in libthrift and lead to rev-lock. As scribe is a deprecated
transport in Zipkin, it is ok to update this to a signature breaking
version on minor, but increment to the next minor in the PR. -->
<version>0.19.0</version>
<version>0.20.0</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class ZipkinContainer extends GenericContainer<ZipkinContainer> {
static final int HTTP_PORT = 9411;

ZipkinContainer() {
super(parse("ghcr.io/openzipkin/zipkin:3.0.6"));
super(parse("ghcr.io/openzipkin/zipkin:3.1.1"));
// zipkin-server disables scribe by default.
withEnv("COLLECTOR_SCRIBE_ENABLED", "true");
withExposedPorts(SCRIBE_PORT, HTTP_PORT);
Expand Down
2 changes: 1 addition & 1 deletion metrics-micrometer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<module.name>zipkin2.reporter.metrics.micrometer</module.name>

<main.basedir>${project.basedir}/..</main.basedir>
<micrometer.version>1.12.1</micrometer.version>
<micrometer.version>1.12.5</micrometer.version>
</properties>

<dependencies>
Expand Down
18 changes: 9 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,31 +49,31 @@

<!-- override to set exclusions per-project -->
<errorprone.args />
<errorprone.version>2.24.1</errorprone.version>
<errorprone.version>2.26.1</errorprone.version>

<!-- use the same value in bom/pom.xml -->
<!-- NOTE: Do not update to 3.x as that has floor Java 8 -->
<zipkin.version>2.27.1</zipkin.version>

<!-- Do not set this value in bom/pom.xml to avoid cyclic pinning -->
<brave.version>6.0.1</brave.version>
<brave.version>6.0.2</brave.version>

<log4j.version>2.22.1</log4j.version>
<log4j.version>2.23.1</log4j.version>
<okhttp.version>4.12.0</okhttp.version>

<junit-jupiter.version>5.10.2</junit-jupiter.version>
<mockito.version>5.10.0</mockito.version>
<mockito.version>5.11.0</mockito.version>
<assertj.version>3.25.3</assertj.version>
<awaitility.version>4.2.0</awaitility.version>
<testcontainers.version>1.19.4</testcontainers.version>
<awaitility.version>4.2.1</awaitility.version>
<testcontainers.version>1.19.7</testcontainers.version>

<license.skip>${skipTests}</license.skip>

<go-offline-maven-plugin.version>1.2.8</go-offline-maven-plugin.version>
<!-- TODO: cleanup any redundant ignores now also in the 4.0 release (once final) -->
<license-maven-plugin.version>4.3</license-maven-plugin.version>
<maven-bundle-plugin.version>5.1.9</maven-bundle-plugin.version>
<maven-compiler-plugin.version>3.12.1</maven-compiler-plugin.version>
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<!-- Use same version as https://github.com/openzipkin/docker-java -->
<maven-dependency-plugin.version>3.6.1</maven-dependency-plugin.version>
<maven-deploy-plugin.version>3.1.1</maven-deploy-plugin.version>
Expand All @@ -85,8 +85,8 @@
<maven-javadoc-plugin.version>3.6.3</maven-javadoc-plugin.version>
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
<maven-release-plugin.version>3.0.1</maven-release-plugin.version>
<maven-shade-plugin.version>3.5.1</maven-shade-plugin.version>
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
<maven-shade-plugin.version>3.5.2</maven-shade-plugin.version>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
</properties>
Expand Down

0 comments on commit 939b6e4

Please sign in to comment.