Summary
In this chapter, you learned how to handle various microservice concerns in the Micronaut framework. We kickstarted the journey by externalizing the application configurations using Consul and learned why distributed configuration management is required in the microservices. We then dived into how to automate API documentation using OpenAPI and Swagger. Later, we discussed service discovery and the API gateway and implemented those in the pet clinic application.
At last, we explored the need for fault tolerance and how you can simply use the built-in mechanism in the Micronaut framework for building resilience in your microservices application.
This chapter has equipped you with all the first-hand knowledge you require to handle various microservice concerns relating to service discovery, API gateways, and fault tolerance. The chapter took a practical approach by adding to the pet-clinic application while covering these aspects.
In the next chapter, you will explore...