You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin currently supports grpc request/response metadata when doing grpc services.
It would be great if it also supported metadata with the proto messages too.
So for cases when body is a proto, I was thinking of using this plugin and use the proto message to pass the body and metadata to pass the rest of the fields (key, headers).
This plugin currently supports grpc request/response metadata when doing grpc services.
It would be great if it also supported metadata with the proto messages too.
Our particular use-cases is around kafka messages, where apart from the message body we can also have message key, headers, and topic data (name, replication factor).
Each of these is encoded in bytes: https://github.com/confluentinc/confluent-kafka-go/blob/master/kafka/message.go#L72
We often encode body as a proto as well.
So for cases when body is a proto, I was thinking of using this plugin and use the proto message to pass the body and metadata to pass the rest of the fields (key, headers).
However I don't think metadata is supported when passing proto messages (last parameter is None):
https://github.com/pactflow/pact-protobuf-plugin/blob/main/src/protobuf.rs#L301
The text was updated successfully, but these errors were encountered: