Chapter 7. Discovering microservices for consumption
This chapter covers
- Why service discovery is important
- How to register a microservice so it can be discovered by clients
- Which service registries are supported by Thorntail
- How to look up a microservice within a client
As part of decomposing pieces of the Cayambe monolith into separate microservices, you’ve decided that you need a service for processing order payments. This new microservice will then be used within the Cayambe monolith in chapter 10.
Dozens, if not hundreds, of providers offer payment processing services. Initially, you’ll develop basic integration with Stripe (https://stripe.com/docs/quickstart). To facilitate future expansion of payment providers, you’ll integrate with ...