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

Json deserialization support in java client #125

Open
kevinbheda opened this issue Mar 22, 2022 · 0 comments
Open

Json deserialization support in java client #125

kevinbheda opened this issue Mar 22, 2022 · 0 comments
Labels
enhancement New feature or request json

Comments

@kevinbheda
Copy link

Is your feature request related to a problem? Please describe.
We want to add support to deserialize json data based on the provided schema

Describe the solution you'd like
As of now the client only has protobuf deserialization support, need to create generic interface contract for Deserializer which will be implemented for various data formats. On the lines of

  1. KafkaJsonSchemaDeserializer.java
  2. KafkaAvroDeserializer.java
  3. KafkaProtobufDeserializer.java
    We need to do some poc on return type, whether to return actual class object or generic json object. But regardless of it, it should validate whether the given input data is compatible with the schema or no.

Additional context
We need this because we want to support different input data types in firehose, which currently only supports protobuf.

@kevinbheda kevinbheda added enhancement New feature or request json labels Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request json
Projects
None yet
Development

No branches or pull requests

1 participant