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

Issue 59: Handle Avro union type and normalize it to specific record type #66

Closed
wants to merge 14 commits into from

Conversation

shiveshr
Copy link
Contributor

Change log description
Extract the Event type schema from the avro union schema.

Purpose of the change
Fixes #59

What the code does
With avro schema definitions, an avro file can include a union schema of multiple types which allows referencing same type in multiple places in the schema.
If a union type is sent to service, with type as one of the types in the union, we extract the type from the union
and normalize the schema for the type using the nested structure retrieved from the Schema object.

How to verify it
TBD

Signed-off-by: Shivesh Ranjan <[email protected]>
Signed-off-by: Shivesh Ranjan <[email protected]>
Signed-off-by: Shivesh Ranjan <[email protected]>
Signed-off-by: Shivesh Ranjan <[email protected]>
Signed-off-by: Shivesh Ranjan <[email protected]>
Signed-off-by: Shivesh Ranjan <[email protected]>
Signed-off-by: Shivesh Ranjan <[email protected]>
@shiveshr shiveshr requested a review from shrids July 20, 2020 05:16
@shiveshr shiveshr closed this Dec 4, 2020
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.

Normalize avro union format for the type while registering the schema
1 participant