zhfeng commented on a change in pull request #3594:
URL: https://github.com/apache/camel-quarkus/pull/3594#discussion_r824350443
##########
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:
Hi @aldettinger , I change to add all implementations of
```org.apache.kafka.clients.producer.Producer``` and
```org.apache.kafka.clients.consumer.Consumer``` to register as
RefelctiveClass. Also add a body check for ```client.id```. It should work even
if we change an implementation in the future. Anyway it must have the field
```clientId```.
--
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]