Skip to content

Add HTTP URI to SCHEMA_REGISTRY_URL #49

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

Merged
merged 3 commits into from
Oct 3, 2024
Merged

Add HTTP URI to SCHEMA_REGISTRY_URL #49

merged 3 commits into from
Oct 3, 2024

Conversation

m-dwyer
Copy link
Contributor

@m-dwyer m-dwyer commented Oct 1, 2024

Context

There are multiple Kafka libraries (e.g. Python, Ruby and Kotlin based) that expect the URL for schema registry to include the HTTP URI when querying schemas as part of handling Avro serialisation/deserialisation.

Teams expect to be able to use SCHEMA_REGISTRY_URL directly without explicitly prepending http://, and this has caused some confusing errors.

We should include the URI by default.

Changes

  • Update SCHEMA_REGISTRY_URL to include http:// URI
  • Update usages of SCHEMA_REGISTRY_URL to no longer require hard-coded http://

@m-dwyer
Copy link
Contributor Author

m-dwyer commented Oct 1, 2024

@m-dwyer m-dwyer marked this pull request as ready for review October 3, 2024 00:07
@m-dwyer m-dwyer merged commit 40d758d into main Oct 3, 2024
5 checks passed
@m-dwyer m-dwyer deleted the schema-registry-uri branch October 3, 2024 23:35
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

Successfully merging this pull request may close these issues.

3 participants