Skip to content
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

impossible to specify the group id explicitly #5990

Open
HOLMESsamuel opened this issue Feb 21, 2025 · 1 comment
Open

impossible to specify the group id explicitly #5990

HOLMESsamuel opened this issue Feb 21, 2025 · 1 comment

Comments

@HOLMESsamuel
Copy link

I built a java kafka producer that uses a schema on apicurio to serialize data, my schema is on group id default I explicitly give the group ID using this configuration for the Serde object

properties.put(SerdeConfig.FALLBACK_ARTIFACT_PROVIDER, "io.apicurio.registry.serde.fallback.DefaultFallbackArtifactProvider"); properties.put(SerdeConfig.FALLBACK_ARTIFACT_ID, "test-samuel-value"); properties.put(SerdeConfig.FALLBACK_ARTIFACT_GROUP_ID, "default"); properties.put(SerdeConfig.EXPLICIT_ARTIFACT_ID, "test-samuel-value"); properties.put(SerdeConfig.EXPLICIT_ARTIFACT_GROUP_ID, "default");

However during serialization I get the following error

No artifact with ID 'test-samuel-value' in group 'null' was found.

How can I make sure to send the correct group ?

I use java 17 and this is a part of my pom.xml

<dependency>
    <groupId>io.apicurio</groupId>
    <artifactId>apicurio-registry-serdes-avro-serde</artifactId>
    <version>2.6.8.Final</version>
</dependency>

<dependency>
    <groupId>io.apicurio</groupId>
    <artifactId>apicurio-registry-app</artifactId>
    <version>2.6.8.Final</version>
</dependency>
@apicurio-bot
Copy link

apicurio-bot bot commented Feb 21, 2025

Thank you for reporting an issue!

Pinging @EricWittmann to respond or triage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant