This is an automated email from the ASF dual-hosted git repository.
tzimanyi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-drools.git
The following commit(s) were added to refs/heads/main by this push:
new c501b40cf7 Upgrade kafka-clients to 3.9.1. (#6404)
c501b40cf7 is described below
commit c501b40cf7ccf9807d0e4ea8f007cbc536ae3c41
Author: Tibor Zimányi <[email protected]>
AuthorDate: Mon Jul 21 08:34:18 2025 +0200
Upgrade kafka-clients to 3.9.1. (#6404)
---
build-parent/pom.xml | 7 +++++++
.../drools-quarkus-examples-reactive/pom.xml | 12 ++++++++++++
.../src/main/resources/application.properties | 1 +
3 files changed, 20 insertions(+)
diff --git a/build-parent/pom.xml b/build-parent/pom.xml
index 95662a3720..66935838fc 100644
--- a/build-parent/pom.xml
+++ b/build-parent/pom.xml
@@ -77,6 +77,7 @@
<version.io.netty>4.1.122.Final</version.io.netty>
<version.io.smallrye.openapi.core>4.0.10</version.io.smallrye.openapi.core>
<version.io.smallrye.config.core>3.11.4</version.io.smallrye.config.core>
+ <version.org.apache.kafka>3.9.1</version.org.apache.kafka>
<version.it.unimi.dsi.fastutil>8.5.11</version.it.unimi.dsi.fastutil>
<version.junit>4.13.2</version.junit>
@@ -1222,6 +1223,12 @@
<version>${version.archunit.junit5}</version>
<scope>test</scope>
</dependency>
+
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>kafka-clients</artifactId>
+ <version>${version.org.apache.kafka}</version>
+ </dependency>
</dependencies>
</dependencyManagement>
diff --git
a/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/pom.xml
b/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/pom.xml
index 8c94031080..bd1a8dd305 100644
---
a/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/pom.xml
+++
b/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/pom.xml
@@ -48,6 +48,18 @@
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-messaging-kafka</artifactId>
+ <exclusions>
+ <!-- Overriding kafka-clients to fix a vulnerability.
+ This exclusion can be removed when Quarkus will contain
kafka-clients in at least version 3.9.1. -->
+ <exclusion>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>kafka-clients</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>kafka-clients</artifactId>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
diff --git
a/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/src/main/resources/application.properties
b/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/src/main/resources/application.properties
index ade9f10c53..5ea5bd3603 100644
---
a/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/src/main/resources/application.properties
+++
b/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/src/main/resources/application.properties
@@ -33,3 +33,4 @@
mp.messaging.incoming.events.value.deserializer=org.drools.quarkus.ruleunit.exam
mp.messaging.outgoing.alerts.connector=smallrye-kafka
mp.messaging.outgoing.alerts.topic=alerts
mp.messaging.outgoing.alerts.value.serializer=io.quarkus.kafka.client.serialization.ObjectMapperSerializer
+org.apache.kafka.sasl.oauthbearer.allowed.urls=
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]