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

Can this crate registers schema in the schema registry if the schema is not found. #111

Open
sfsf9797 opened this issue Jul 9, 2024 · 7 comments
Labels
good first issue Good for newcomers

Comments

@sfsf9797
Copy link
Contributor

sfsf9797 commented Jul 9, 2024

Is your feature request related to a problem? Please describe.
It would be cool if the crate could infer avro schema from the struct and register it in schema in the schema registry.

Describe the solution you'd like
The crate would have to match rust data type to Avro data type.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@gklijs
Copy link
Owner

gklijs commented Jul 11, 2024

Certainly an interesting idea. Do you know if there are any crates available for the part of inferring an Avro Schema from struct? I'm afraid that might be pretty difficult to tackle, and out of scope for this project.

@martin-g
Copy link

apache-avro crate provides this:
'#[derive(AvroSchema)]'. Make sure to enable the 'derive' feature!

@gklijs
Copy link
Owner

gklijs commented Jul 12, 2024

I might have some time the next few weeks to give it a try.

@sfsf9797
Copy link
Contributor Author

Thanks, here is a sample of Go implementation too if that help.

I'm also happy to assist too.

@gklijs
Copy link
Owner

gklijs commented Aug 23, 2024

Thanks. It turned out that getting a newly built house is quite tiring. I hope to have some time in the next few weeks.

@sfsf9797
Copy link
Contributor Author

Hey, congrats on the newly built house!!

@gklijs
Copy link
Owner

gklijs commented Oct 13, 2024

Anyone, feel free to pick this up.

@gklijs gklijs added the good first issue Good for newcomers label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants