-
Notifications
You must be signed in to change notification settings - Fork 846
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
Add JSON Schema support to schema_registry_encode
/ schema_registry_decode
#1150
Comments
We are currently leveraging Confluent for our brokers and are working towards implementing Benthos without our company. One of the benefits of Confluent is the use of Schema Registry for managing schemas and validating messages. Schema Registry has expanded its support beyond AVRO and now includes JSON Schema. We would like to take advantage of JSON Schema validation within Benthos using Schema Registry. Adding support in the schema_registry_encode and decode processors will be a big benefit to us on our Benthos journey. |
i'm interested in working on this. just for context, here is a sample of how the existing code does the deserialization:
where the schema definition is:
and
for my use case, i do not need the type information so i would expect to produce something like this:
any concerns with this approach, or should i include typings like so:
|
Cool, thanks @zcmack!
We'll have to support both modes. While it won't impact you, linkedin/goavro#252 will require a breaking change in the way logical types are deserialised when |
Please add JSON Schema schema registry support.
The text was updated successfully, but these errors were encountered: