-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing io.confluent:kafka-avro-serializer
in Quarkus BOM
#26428
Comments
/cc @alesj, @cescoffier, @ozangunalp |
io.confluent:kafka-avro-serializer
on Quarkus BOMio.confluent:kafka-avro-serializer
in Quarkus BOM
Note(to keep in mind): Maybe from an end-user point of view, update AVRO serializers is not a minor update because all generated "serializers" objects, should be re-generated... I mean, Is possible that a producer / consumers use different Serializer versions? |
We need to add the confluent maven repo to the bom (or the parent pom) in order to add this to the bom. I don't think we want that. I think this is the reason the dependency is not added to the extension. @alesj WDYT ? For the native compilation issue with random, we need to add the class as runtime initialized. |
Yeah, I think that was one of the main reasons why it's not added. |
So no more substitutions for such things? |
I don't think adding the Confluent Maven repository into the BOM would help, even if we wanted to do that (which we don't), because importing a BOM only manages dependency versions. The extensions for Confluent Schema Registry still require people to manually add the Confluent Maven repository and the correct dependencies manually, and until Confluent publishes their libraries to Maven Central, that's the best we can do. |
That's a very good point, imported bom won't import defined repositories. |
Yes, and we do not want to declare the confluent repository. So for now, there is not much we can do, except document the support version. We could support conditional substitutions to support the newest version, but... oh my... |
Assigned it to me, I will add something to the documentation. |
Also extract the documentation in a separate version Fixes quarkusio#26428
Also extract the documentation in a separate version Fixes quarkusio#26428
Also extract the documentation in a separate version Fixes quarkusio#26428
Describe the bug
I could not find
io.confluent:kafka-avro-serializer
lib on Quarkus BOM and the latest version7.1.2
is not working in native modeBecause there is a static
java.util.Random
definition in some internal library on version 7.1.2Version: 7.0.3 works as expected.
IMO the issue is that
io.confluent:kafka-avro-serializer
should be defined in Quarkus BOM or be included as part ofquarkus-confluent-registry-avro
WDYT?
The text was updated successfully, but these errors were encountered: