jomin7 commented on code in PR #8684:
URL: https://github.com/apache/camel-quarkus/pull/8684#discussion_r3354725901
##########
extensions-support/debezium/deployment/src/main/java/org/apache/camel/quarkus/support/debezium/deployment/DebeziumSupportProcessor.java:
##########
@@ -144,6 +142,18 @@ void reflectiveClasses(CombinedIndexBuildItem
combinedIndex, BuildProducer<Refle
SchemaTopicNamingStrategy.class,
FileSchemaHistory.class)
.build());
+
+ reflectiveClasses.produce(ReflectiveClassBuildItem.builder(
+ "org.apache.kafka.connect.converters.ByteArrayConverter",
+ "org.apache.kafka.connect.converters.BooleanConverter",
+ "org.apache.kafka.connect.converters.DoubleConverter",
+ "org.apache.kafka.connect.converters.FloatConverter",
+ "org.apache.kafka.connect.converters.IntegerConverter",
+ "org.apache.kafka.connect.converters.LongConverter",
+ "org.apache.kafka.connect.converters.ShortConverter")
+ .constructors()
+ .methods()
+ .build());
Review Comment:
Thanks @jamesnetherton, updated to use
ServiceProviderBuildItem.allProvidersFromClassPath("org.apache.kafka.connect.storage.Converter")
to auto-discover the Converter implementations from META-INF/services on the
classpath. This replaces the hardcoded list and keeps it forward-compatible
with future Kafka versions.
--
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]