aldettinger commented on a change in pull request #3594:
URL: https://github.com/apache/camel-quarkus/pull/3594#discussion_r822778074
##########
File path:
extensions/kafka/deployment/src/main/java/org/apache/camel/quarkus/component/kafka/deployment/KafkaProcessor.java
##########
@@ -68,4 +69,12 @@ public void configureKafkaComponentForDevServices(
}
}
}
+
+ @BuildStep
+ public ReflectiveClassBuildItem reflectiveClasses() {
+ return new ReflectiveClassBuildItem(false, true,
+ "org.apache.kafka.clients.producer.KafkaProducer",
+ "org.apache.kafka.clients.consumer.KafkaConsumer",
+ "org.apache.kafka.clients.producer.internals.Sender");
+ }
Review comment:
Maybe most of the time the underlying type is
`org.apache.kafka.clients.producer.KafkaProducer`. However, could we have
another implementation used when using the
[setter](https://github.com/apache/camel/blob/main/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaProducer.java#L138)
?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]