In this chapter, we covered the basic theory behind the circuit breaker pattern.
In the practical part of this chapter, we extended our pet store application to provide the buying functionality. We then covered the basics of the Hystrix API and used it to implement resilient connections with our external payment service.
Later, we used our own mock implementation of misbehaving a payment service to present the behavior of the circuit breaker algorithm.