com.fasterxml.jackson.dataformat:jackson-dataformat-csv is needed when io.confluent:kafka-avro-serializer > 7.2.0 #45743
Labels
area/jackson
Issues related to Jackson (JSON library)
area/kafka
area/native-image
kind/question
Further information is requested
Describe the bug
com.fasterxml.jackson.dataformat:jackson-dataformat-csv is needed when io.confluent:kafka-avro-serializer > 7.2.0 in Native Build
In normal build this is not needed
Error: Discovered unresolved type during parsing: com.fasterxml.jackson.dataformat.csv.CsvMapper. This error is reported at image build time because class io.confluent.kafka.serializers.AbstractKafkaSchemaSerDe$ListPropertyParser is registered for linking at image build time by command line and command line.
Expected behavior
io.confluent:kafka-avro-serializer can be used in native build without com.fasterxml.jackson.dataformat:jackson-dataformat-csv
Locally this not needed to add
Actual behavior
Error: Discovered unresolved type during parsing: com.fasterxml.jackson.dataformat.csv.CsvMapper. This error is reported at image build time because class io.confluent.kafka.serializers.AbstractKafkaSchemaSerDe$ListPropertyParser is registered for linking at image build time by command line and command line.
Comes when io.confluent:kafka-avro-serializer > 7.2.0
How to Reproduce?
Output of
uname -a
orver
No response
Output of
java -version
Java version: 21.0.2+13
Mandrel or GraalVM version (if different from Java)
GraalVM CE 21.0.2+13.1
Quarkus version or git rev
3.17.7
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.12
Additional information
No response
The text was updated successfully, but these errors were encountered: