Skip to content

[Question] Protobuf deserialization for proto in json field #708

Answered by xakassi
ChristianGmw asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @ChristianGmw !
For now it is not implemented. Protobuf deserialier class receives a topic's key or a topic's value as row bytes and decode them as one whole.
Actually I do not know how to implement logic you are looking for. It looks like that in your case we need to decode the whole bytes as a JSON and then additionally process some fields of the decoded JSON to decode them from Protobuf. But I'm not sure it will be correct.

Anyway for now it is not implemented.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ChristianGmw
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #707 on May 21, 2021 14:40.