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

Supporting Custom Codecs #288

Open
marcoserrato opened this issue Sep 27, 2024 · 0 comments
Open

Supporting Custom Codecs #288

marcoserrato opened this issue Sep 27, 2024 · 0 comments

Comments

@marcoserrato
Copy link

Hello!

I'm fairly new to the Go ecosystem and was curious whether supporting custom codecs would potentially be on the roadmap for this project.

In my particular case, I have a custom type which wraps a fixed type and requires additional encoding/decoding steps. More specifically, my type has an additional layer of compression which needs to be handled during textual serialization. In Ruby, I can use a library such as Avromatic to define custom encoding/decoding steps for a custom type I might be registering.

Perhaps there's some Go pattern I'm unaware of that would allow me to do this, but for now I've landed on just forking the project and augmenting the default symbol table to include my custom type with its own codec. However, I'd like to avoid maintaining a fork of this project longterm, and ideally define my custom logic in the project that includes goavro.

I've searched through a few issues, and If I'm not misunderstanding, this issue seems to resonate with my problem, in that support for custom textual encoders/decoders would helpful. However, given the timeline, I'm not entirely sure whether it's still being pursued.

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

No branches or pull requests

1 participant