-
Hi, In both cases the consumer will try to deserialise the payload using the encoded string version of the byte array and it fails. Any suggestion here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello @maxdidato
|
Beta Was this translation helpful? Give feedback.
-
Hello @iliax , thanks for the response. |
Beta Was this translation helpful? Give feedback.
Hello @maxdidato
here some options for you:
if you are using SchemaRegistry with protobuf schema - then just configure SR for your cluster. (example is here)
If you not using SR and just want to produce messages with specified protobuf schema - you should tell kafka-ui where that schema can be found (example is here). After that you will see "ProtobufFile" serde in serde selection field. After that you just enter json representation of your msg, it will be serialized and sent to kafka. Using this approach messages should be also viewable in "Messages" tab.
If you need a byte-exact representation of binary data without an ability to view its content - you can serialize proto message …