Ran in to an issue with the Metadata for an asynch...
# pact-go
k
Ran in to an issue with the Metadata for an asynchronous message. For some unknown reason the Metadata field have been disabled with a comment. See: https://github.com/pact-foundation/pact-go/blob/2.x.x/message/v4/message.go#L24
m
How are you trying to use it? It's possible it's a bug
k
We pass Content-Type among other things as Kafka message attributes, the content type is used for internal routing. It is possible to hack in a workaround, but it would be better if metadata was in the AsynchronousMessage.
m
ah, any reason you can’t use the
v3
interface? That should support metadata I think. I need to remember why I didn’t add that to V4 yet, but there was probably a good reason ™️