aldettinger commented on a change in pull request #3594:
URL: https://github.com/apache/camel-quarkus/pull/3594#discussion_r820640546
##########
File path:
extensions/kafka/deployment/src/main/java/org/apache/camel/quarkus/component/kafka/deployment/KafkaProcessor.java
##########
@@ -68,4 +69,11 @@ public void configureKafkaComponentForDevServices(
}
}
}
+
+ @BuildStep
+ public ReflectiveClassBuildItem reflectiveClasses() {
+ return new ReflectiveClassBuildItem(true, true,
+ "org.apache.kafka.clients.producer.KafkaProducer",
+ "org.apache.kafka.clients.consumer.KafkaConsumer");
+ }
Review comment:
Also, I wonder whether the class
`org.apache.kafka.clients.producer.internals.Sender` would need [to be
registered
also](https://github.com/apache/camel/blob/main/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaProducer.java#L111..L115)
At the end of the day, maybe adding testing covering each usage of
ReflectionHelper in `KafkaFetchRecords` and `KafkaProducer` would be helpful ?
--
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]