schema-registry
schema-registry copied to clipboard
Same java package in two modules for Avro
JVM's module system, since Java 9, doesn't allow more than one JAR module with the same package. At least when using the module system instead of compatibility mode (module path instead of the classpath).
See: https://jlbp.dev/JLBP-19
I must do some workaround to use those modules with a dependency relationship:
https://github.com/confluentinc/schema-registry/tree/master/avro-serializer/src/main/java/io/confluent/kafka/serializers https://github.com/confluentinc/schema-registry/tree/master/schema-serializer/src/main/java/io/confluent/kafka/serializers
When using the module system, I always get a ClassNotDef/ClassNotFound on some classes due to package name ambiguity, and I don't want to leave the module system only because of this single dependency.
Is there some already defined workaround for this issue?
[]'s
Can we get some attention here, please?
These libs are the only ones preventing me from migrating my code into Java modules.
I am also running in to this issue. Would be great if this got some more attention.