ProtobufFile serde with proto files containing Any #650
Labels
area/serde
Serialization & Deserialization (plugins)
scope/backend
Related to backend changes
status/triage/completed
Automatic triage completed
type/bug
Something isn't working
Issue submitter TODO list
main
-labeled docker image and the issue still persists thereDescribe the bug (actual behavior)
I have the following protofiles structure:
protofiles/common/main.proto
protofiles/ref/referenced.proto
main.proto:
`syntax = "proto3";
import "google/protobuf/any.proto";
package common;
message Main {
string name = 1;
google.protobuf.Any payload = 2;
}`
referenced.proto
`syntax = "proto3";
import "google/protobuf/any.proto";
package ref;
message Referenced {
string id = 1;
}`
The setup for the docker image for the serde is:
kafka.clusters.0.serde.0.name: ProtobufFile kafka.clusters.0.serde.0.topicValuesPattern: "test*" kafka.clusters.0.serde.0.PROPERTIES.protobufFilesDir: /protofiles/ kafka.clusters.0.serde.0.properties.protobufMessageName: common.Main
When I try the Produce Message, I get the error that Referenced type is not found.
Expected behavior
What should be the correct way to use proto Any types?
Your installation details
I am using docker image: ghcr.io/kafbat/kafka-ui:latest
Steps to reproduce
proto files and configuration are above
Screenshots
No response
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: