Hi everyone, I'm new to the testing world and cur...
# general
n
Hi everyone, I'm new to the testing world and currently exploring contract testing in .NET. I've been able to successfully implement contract testing for request-response architectures, but I'm now working with event-driven services that use Kafka as a message queue. I'm a bit stuck on how to apply contract testing in this context. Could someone please guide me or share a working example for event-driven architecture using Kafka? Any help or resources to understand the flow would be greatly appreciated. Thanks in advance for your help!
m
I don’t know if we have a Kafka example, but here’s some resources:
How “message pact” works: 1. https://docs.pact.io/getting_started/how_pact_works#non-http-testing-message-pact 2.

https://www.youtube.com/watch?v=81N25-4x27E

There are also other examples for Kafka here in other languages that might be useful to compare to: https://docs.pactflow.io/docs/examples/
n
Thanks @Matt (pactflow.io / pact-js / pact-go).