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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a proper Schema Registry client to fix issues in #22 #52

Merged
merged 3 commits into from May 9, 2022

Conversation

mostafa
Copy link
Owner

@mostafa mostafa commented May 8, 2022

In this PR, I've introduced a new dependency (https://github.com/riferrei/srclient) by @riferrei 馃檹 to fix issues reported in #22 (by @saad1200 and @ssam5532). By doing so, I've also refactored most of the code related to serdes functionality and created a few tickets along the way:

Breaking changes

I've broken backward compatibility with the schema registry client configuration object.

Issues

@saad1200 and @ssam5532
I have tested it with test_json.js and test_avro_with_schema_registry.js, and I'd be happy to have your feedback.

Add srclient dependency as a better way to access Schema Registry
Combine functions in Avro serdes
Change SchemaRegistryConfiguration and BasicAuth to fix issues (breaking change)
Validate configuration for all supported (and unsupported) serde functionlity
Default serde is now StringSerializer and StringDeserializer
Refactor wire format de/encoding
Fix bugs, typos and refactor the rest
@mostafa mostafa merged commit 9911ee8 into main May 9, 2022
@mostafa mostafa deleted the refactor-schema-registry-client branch May 9, 2022 20:06
mostafa added a commit that referenced this pull request May 31, 2022
* Use a proper Schema Registry client to fix issues in #22
* Add srclient dependency as a better way to access Schema Registry
* Combine functions in Avro serdes
* Change SchemaRegistryConfiguration and BasicAuth to fix issues (breaking change)
* Validate configuration for all supported (and unsupported) serde functionality
* Default serde is now StringSerializer and StringDeserializer
* Refactor wire format de/encoding
* Fix bugs and typos and refactor the rest
* Refactor basic auth function and move structs to their relevant files
* Fix linting errors reported by gosimple (golangci-lint)
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.

None yet

1 participant