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

Lookup global schema id #2919

Open
doxsch opened this issue Jan 7, 2024 · 4 comments
Open

Lookup global schema id #2919

doxsch opened this issue Jan 7, 2024 · 4 comments

Comments

@doxsch
Copy link

doxsch commented Jan 7, 2024

We would like to have a way to get the global id of a schema when we submit a schema string. Is there a method for this?

@rayokota
Copy link
Member

rayokota commented Jan 8, 2024

Currently you have to pass a subject as well as the schema

https://docs.confluent.io/platform/current/schema-registry/develop/api.html#post--subjects-(string-%20subject)

@doxsch
Copy link
Author

doxsch commented Jan 8, 2024

Thank you for your answer.

Would it be possible to introduce such a method? We would like to display for which subjects the schema string is registered. In our opinion, this is not directly possible with the current methods and for GET /schemas/ids/{int: id}/versions we need the global id. Hence the question about the new method.

@doxsch
Copy link
Author

doxsch commented Feb 8, 2024

Hi @rayokota

I added an example implemation for the endpoint we need. Feedback would be highly appreciated.

@doxsch
Copy link
Author

doxsch commented Apr 16, 2024

@rayokota - Friendly reminder

Let me know if there’s anything more I can help with to keep things moving smoothly.

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

No branches or pull requests

2 participants