From 99780a670930a07e23e48c3b7e76944e0dfb8221 Mon Sep 17 00:00:00 2001 From: Ozan Gunalp Date: Mon, 17 Jun 2024 23:20:00 +0200 Subject: [PATCH] Add kafka-version.properties as native image resource Fixes #40851 (cherry picked from commit b658288734b171ae87322c321e9eb71226e65088) --- .../java/io/quarkus/kafka/client/deployment/KafkaProcessor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/kafka-client/deployment/src/main/java/io/quarkus/kafka/client/deployment/KafkaProcessor.java b/extensions/kafka-client/deployment/src/main/java/io/quarkus/kafka/client/deployment/KafkaProcessor.java index 41f3415a761c6..295c223570ee9 100644 --- a/extensions/kafka-client/deployment/src/main/java/io/quarkus/kafka/client/deployment/KafkaProcessor.java +++ b/extensions/kafka-client/deployment/src/main/java/io/quarkus/kafka/client/deployment/KafkaProcessor.java @@ -222,6 +222,7 @@ public void build( BuildProducer sslNativeSupport) { final Set toRegister = new HashSet<>(); + nativeLibs.produce(new NativeImageResourceBuildItem("kafka/kafka-version.properties")); collectImplementors(toRegister, indexBuildItem, Serializer.class); collectImplementors(toRegister, indexBuildItem, Deserializer.class); collectImplementors(toRegister, indexBuildItem, Partitioner.class);