Skip to content

Commit 16be32f

Browse files
Merge branch 'dev' into feat-wildcard-json-unmasking
2 parents aa8afe9 + 8373bb3 commit 16be32f

File tree

18 files changed

+1514
-1557
lines changed

18 files changed

+1514
-1557
lines changed

build.gradle

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
plugins {
22
// micronaut
3-
id "com.gradleup.shadow" version "9.2.2"
4-
id "io.micronaut.application" version "4.6.1"
3+
id "com.gradleup.shadow" version "9.3.1"
4+
id "io.micronaut.application" version "4.6.2"
55

66
// akhq
7-
id "com.gorylenko.gradle-git-properties" version "2.5.3"
7+
id "com.gorylenko.gradle-git-properties" version "2.5.7"
88
id 'com.adarshr.test-logger' version '4.0.0'
99
id 'org.gradle.test-retry' version '1.6.4'
1010
id 'com.github.psxpaul.execfork' version '0.2.2'
1111
id "com.github.ben-manes.versions" version "0.53.0"
1212
id "com.github.davidmc24.gradle.plugin.avro" version "1.9.1"
1313
// idea
14-
id "org.jetbrains.gradle.plugin.idea-ext" version "1.3"
14+
id "org.jetbrains.gradle.plugin.idea-ext" version "1.4"
1515
}
1616
java {
1717
sourceCompatibility = JavaVersion.toVersion("17")
@@ -38,6 +38,11 @@ configurations.all {
3838
exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j2-impl'
3939
exclude group: 'org.apache.logging.log4j', module: 'log4j-to-slf4j'
4040
exclude group: 'org.slf4j', module: 'slf4j-reload4j'
41+
// Exclude legacy org.lz4 provider so we can consistently use the relocated at.yawk.lz4
42+
exclude group: 'org.lz4', module: 'lz4-java'
43+
// Explicitly exclude missing Confluent telemetry modules from all configurations
44+
exclude group: 'io.confluent', module: 'telemetry-events'
45+
exclude group: 'io.confluent', module: 'telemetry-api'
4146

4247
resolutionStrategy {
4348
force("org.apache.kafka:kafka-clients:" + kafkaVersion)
@@ -53,6 +58,13 @@ configurations.all {
5358
}
5459
}
5560

61+
// Apply Confluent-related exclusions to both runtime and test runtime classpaths
62+
[configurations.runtimeClasspath, configurations.testRuntimeClasspath].each { conf ->
63+
conf?.exclude group: 'io.confluent.observability', module: 'telemetry-events'
64+
conf?.exclude group: 'io.confluent.observability', module: 'telemetry-api'
65+
conf?.exclude group: 'io.confluent.resourcemanager', module: 'apiserver-client'
66+
}
67+
5668
/**********************************************************************************************************************\
5769
* IntelliJ IDEA
5870
**********************************************************************************************************************/
@@ -111,9 +123,13 @@ dependencies {
111123

112124
// kafka
113125
implementation group: "org.apache.kafka", name: "kafka_" + kafkaScalaVersion, version: kafkaVersion
114-
implementation group: "org.apache.kafka", name: "kafka-clients", version: kafkaVersion
126+
implementation("org.apache.kafka:kafka-clients:" + kafkaVersion)
115127
implementation group: "org.apache.kafka", name: "kafka-streams", version: kafkaVersion
116128
implementation ("org.apache.kafka:kafka-group-coordinator:" + kafkaVersion)
129+
130+
// Prefer relocated LZ4 provider explicitly
131+
implementation("at.yawk.lz4:lz4-java:1.10.3")
132+
117133
implementation group: "io.confluent.ksql", name: "ksqldb-api-client", version: confluentVersion
118134
implementation group: "io.confluent", name: "kafka-schema-registry-client", version: confluentVersion
119135
implementation group: "io.confluent", name: "kafka-avro-serializer", version: confluentVersion
@@ -142,11 +158,11 @@ dependencies {
142158
implementation 'org.apache.avro:avro:1.12.1'
143159

144160
// jackson-module-scala
145-
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-scala_2.13', version: '2.20.0'
161+
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-scala_2.13', version: '2.21.0'
146162

147163
// protobuf
148-
implementation group: "com.google.protobuf", name: "protobuf-java", version: '4.33.0'
149-
implementation group: "com.google.protobuf", name: "protobuf-java-util", version: '4.33.0'
164+
implementation group: "com.google.protobuf", name: "protobuf-java", version: '4.33.5'
165+
implementation group: "com.google.protobuf", name: "protobuf-java-util", version: '4.33.5'
150166

151167
//cenk is testing
152168
implementation("io.micronaut:micronaut-http-client")
@@ -160,20 +176,20 @@ dependencies {
160176
// Password hashing
161177
implementation group: "org.mindrot", name: "jbcrypt", version: "0.4"
162178

163-
implementation group: 'org.apache.groovy', name: 'groovy-all', version: '5.0.2'
179+
implementation group: 'org.apache.groovy', name: 'groovy-all', version: '5.0.4'
164180
// api
165181

166182
// client
167183
implementation project(":client")
168184

169185
//AWS MSK IAM Auth
170-
implementation group: 'software.amazon.msk', name: 'aws-msk-iam-auth', version: '2.3.4'
186+
implementation group: 'software.amazon.msk', name: 'aws-msk-iam-auth', version: '2.3.5'
171187

172188
// AWS Glue serde
173-
implementation ("software.amazon.glue:schema-registry-serde:1.1.25")
189+
implementation ("software.amazon.glue:schema-registry-serde:1.1.27")
174190

175191

176-
implementation group: 'io.projectreactor', name: 'reactor-core', version: '3.7.12'
192+
implementation group: 'io.projectreactor', name: 'reactor-core', version: '3.8.3'
177193

178194
implementation 'io.jsonwebtoken:jjwt-impl:0.13.0'
179195
}
@@ -204,8 +220,8 @@ dependencies {
204220

205221
// Log4j dependencies needed by KsqlDB at test runtime
206222
// KsqlDB requires actual Log4j implementation, not bridges
207-
testRuntimeOnly 'org.apache.logging.log4j:log4j-api:2.24.3'
208-
testRuntimeOnly 'org.apache.logging.log4j:log4j-core:2.24.3'
223+
testRuntimeOnly 'org.apache.logging.log4j:log4j-api:2.25.3'
224+
testRuntimeOnly 'org.apache.logging.log4j:log4j-core:2.25.3'
209225

210226
// micronaut test
211227
testAnnotationProcessor "org.projectlombok:lombok:" + lombokVersion
@@ -248,7 +264,7 @@ dependencies {
248264
testImplementation 'org.apache.curator:curator-test:5.9.0'
249265

250266
testImplementation 'org.awaitility:awaitility:4.3.0'
251-
testImplementation 'org.testcontainers:kafka:1.21.3'
267+
testImplementation 'org.testcontainers:kafka:1.21.4'
252268
}
253269

254270
testlogger {
@@ -300,7 +316,6 @@ task startTestKafkaCluster(type: com.github.psxpaul.task.JavaExecFork) {
300316
shadowJar {
301317
mergeServiceFiles()
302318
zip64 true
303-
mainClassName = "org.akhq.App"
304319
}
305320

306321
processResources.dependsOn ":client:installFrontend"

0 commit comments

Comments
 (0)