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

JsonSerde only handles JSON objects, not primitive types #17

Open
moritastic opened this issue Jan 18, 2019 · 0 comments
Open

JsonSerde only handles JSON objects, not primitive types #17

moritastic opened this issue Jan 18, 2019 · 0 comments

Comments

@moritastic
Copy link
Collaborator

moritastic commented Jan 18, 2019

For example, JsonSerde should be able to handle a Kafka record key that is just an (string encoded) integer. We could handle this by having primitive specific serdes, but they'll need to be able to convert these primitive types into the expected BaseRecord class. And having JsonSerde handle this out of the box simplifies usage for text based representations.

Another potential issue that should be solved here, is we should handle types like BigInteger in the ByteArray class.

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