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 ( To facilitate future expansion of payment providers, you’ll integrate with ...

Get Enterprise Java Microservices now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.