Michelle He
08/08/2023, 9:40 PMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
MyConsumer -> TopicA : Actually, MyConsumer is a “provider” in this case. It’s producing a message (1)
MyProvider -> TopicB : Likewise, MyProvider is a “provider” in this case as it’s producing a message (2)
My assumption is that MyProvider actually gets the message first from TopicA , in which case it’s also a consumer (3)Matt (pactflow.io / pact-js / pact-go)
TopicB (4 - it’s not clear on who is consuming from that topic, is it MyConsumer again?)
Once you’ve done this, you would verify that the message sent to TopicB is correct (2)
This section of the docs that might help too: https://docs.pact.io/getting_started/how_pact_works#non-http-testing-message-pactMatt (pactflow.io / pact-js / pact-go)
MyConsumer is the consumer and one where it is the provider.Michelle He
08/09/2023, 4:07 PM