Hello everyone, Recently, I joined a project where...
# general
m
Hello everyone, Recently, I joined a project where we have microservices communicating via Kafka, using Avro and Schema Registry. I want to ask for your opinion: would it make sense to introduce contract tests in this case? Would they provide any additional value beyond the validation done by the Schema Registry? I’ve searched for examples in many places but found nothing concrete. Perhaps someone here has tried this approach or at least considered it and reached some conclusions?
m
TL;DR - yes it does. Couple of useful links 1. https://pactflow.io/blog/the-case-for-contract-testing-protobufs-grpc-avro/ 2. This video, whilst not addressing Avro specifically, goes into the above blog in more detail:

https://www.youtube.com/watch?v=ICwB_H1nyW4

3. Pact has a plugin ecosystem for such things, and a community member has created an Avro plugin: https://docs.pact.io/plugins/directory
s
You mentioned a blog - don't forget to add useful content and articles to this page 👉 https://docs.pact.io/blogs_videos_and_articles