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

make ArtifactReferenceResolverStrategy configurable #5459

Open
wolfchimneyrock opened this issue Nov 1, 2024 · 1 comment
Open

make ArtifactReferenceResolverStrategy configurable #5459

wolfchimneyrock opened this issue Nov 1, 2024 · 1 comment

Comments

@wolfchimneyrock
Copy link
Contributor

Feature or Problem Description

for governance reasons, we need to access a remote API to determine if a given kafka topic has been associated with the intended schema artifact before allowing the producer to send messages.

The only place where we can access the kafka topic name to do this check is in the ArtifactResolverStrategy - but this doesn't read the configuration like the serdes and SchemaResolver do, and we need the configuration to pass the url of the remote API.

it should be a simple matter of adding the configure() call to the ArtifactReferenceResolverStrategy with a default noop call, and then call that in the AbstractSchemaResolver configure() after it instantiates the resolver strategy.

@apicurio-bot
Copy link

apicurio-bot bot commented Nov 1, 2024

Thank you for reporting an issue!

Pinging @carlesarnal to respond or triage.

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

No branches or pull requests

3 participants