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
Leverage schema registry when deserializing protobuf messages for viewing #172
Comments
@weeco I'm also interested by this, is it on your roadmap? Also, about the mapping, what do you recommend when for 1 topic I have multiple type of messages (multiple schemas)? In my code I'm able to distinguish them thanks to a subproperty of the key (like Thank you, |
@weeco according to https://www.confluent.fr/blog/multiple-event-types-in-the-same-kafka-topic/#json-schema-and-protobuf-with-schema-references an idea would be to have a "master schema" for each topic containing multiple schemas. And this master schema would be like:
Like that I would be able in Kowl to map 1-to-1 and Kowl would deal with the oneof on its own? Does it make sense to you? EDIT: I'm not sure it would work since in my Kafka they are directly registered as |
Adding Protobuf support using the schema registry is planned, but I'm not sure in what release we'll be able to ship this. Multiple/dynamic types for a key/value in a single topic sounds more tricky to solve and I'm not sure if we want to go that route with Kowl - waiting for more feedback here. |
Our company uses C# as the main development language. Definetly, we can't use Avro (support is bad/buggy in C#). We are planning to use Protobuf as our serialization format. I am in search of developer tooling and found Kowl interesting (UI, seems to have all the basic features for development). But before opening a feature request myself, I searched for this issue. Indeed, in term of developper and Day-1 experience, having Kowl working out-of-the-box with Protobuf, by leveraging the schema registry, without any further maintenance, is desirable. As what concens me, today, the only feature I am still searching for is an easy way to consult protobuf message for our developers. Then, if needed we can always address the tooling for administrators separatly from the developers tooling. |
Hey everyone,
For reference: |
Fixed via PR #204 |
In order to deserialize protobuf messages we currently have to add a reference to a remote git-repository and add explicit mappings between a topic and a .proto file.
The latest version of the Kafka Schema Registry by Confluent now supports protobuf in addition to Avro. It would be nice if Kowl automatically could try to fetch .proto files via the message schema id from the schema registry when viewing protobuf encoded messages.
The text was updated successfully, but these errors were encountered: