The move to microservice infrastructure exposes new challenges, that are not typical for classic monolithic applications. Deployment, security, monitoring -- this list is far from complete.
In this talk Serhiy will speak about how to establish a fast and reliable communication channels between microservices. What patterns, protocols and data formats are available. How to enforce a backwards compatibility and strict contract between services and their clients. When we should use sync or async communication style, and so on.
Come to this session and hopefully you will come out with new ideas of how to build your stuff even better.
NSwag, Swashbuckle for API spec /
SwagerCodeGen for client generation
Consumer Driven Contracts
Allow to test
services and clients separately
Ensure that clients do not get
broken when service evolves
How it works
Consumer creates model and client
Consumer creates test against service mock
Result of test run is recorded as JSON file, called ”pact”
Service uses client stub takes that pact file and runs it
against actual service
Strict contract between client and service
Plumbing code is generated and is always
// Break the circuit after the specified number of consecutive
// exceptions and keep circuit broken for the specified