-
Notifications
You must be signed in to change notification settings - Fork 915
A support for 'Protobuf Deserializer' with schema registry #1174
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
Comments
Not planned, haven't investigated. It would require a library that allowed the data to be traversed over dynamically - I'm not sure if this exists in Python or not. |
Thanks for your quickest and obvious answer. |
Was gonna post this question as well. @mhowlett is there any equivalent libraries in lets say Java that allows the data to be traversed over dynamically ? |
Fixed by #1852 |
Code on master of ProtobufDeserializer's constructor still requires a generated protobuf object... |
I'm trying to consume messages from a topic with a protobuf schema from the Python client (after installing Is there a recommended way to build protos from the schema registry, including extensions such as It looks like this is possible in Databricks/Spark, where their (1) As @nivgold says, the (2) I tried downloading the generated proto file from my Confluent schema registry. It requires int32 my_number_field = 13 [(confluent.field_meta) = {
params: [
{
key: "connect.type",
value: "int16"
}
]
}]; This won't compile as is. I tried downloading meta.proto too and adding an import to my proto source file from the schema registry. However... (3) If I do build the |
Description
At looking into the source code for Protobuf, it seems like not possible to deserialize a protobuf message without its corresponding static message type argument.
When it comes to Avro, all things needed have been provided and it works well to deserialize an Avro message via schema registry only.
I wonder wether a support for Protobuf deserialization with schema registry is in the middle of being implemented or not planned yet.
The text was updated successfully, but these errors were encountered: