Json deserialization support in java client
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start by comparing KafkaJsonSchemaDeserializer.java, KafkaAvroDeserializer.java, and KafkaProtobufDeserializer.java, then inspect the Java client’s current protobuf deserialization entry point. Resolve the deserializer contract and return-type choice, and define how schema compatibility is validated. Done means the Java client accepts JSON input for firehose use with compatibility checks.
Written by the indexing model from the issue text.
Description
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
- KafkaJsonSchemaDeserializer.java
- KafkaAvroDeserializer.java
- 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.
- Dominant language
- Go
- Stars
- 237
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raystack/stencil
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
docs good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
All issues in raystack/stencil
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100