confluentinc / confluentinc/confluent-kafka-python

A support for 'Protobuf Deserializer' with schema registry

Open
#1,174 8 comments 6 reactions 0 assignees View on GitHub
component:schema-registry question
Dominant language
Python
Stars
509
Forks
964
Avg merge
2d 2h
Merged PRs (30d)
14

Description

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.

```
class ProtobufDeserializer(object):
"""
ProtobufDeserializer decodes bytes written in the Schema Registry
Protobuf format to an object.
Args:
message_type (GeneratedProtocolMessageType): Protobuf Message type.
...
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.