In this chapter, we learned how to manage your API when we expose to the consumers. API Management includes providing rate limiting, authentication, and logging. Rate limiting is nothing but a simple algorithm to restrict consumption of the API due to business needs, either for monetizing or for safety from DOS attacks.
We saw how to run KONG using Docker. We also created a use case to manage using the KONG management API. KONG plugins offer a lot of flexibility and customization for your APIs.
Finally, we set up Swagger 2 to generate documentation for a Spring REST API. We also explored the Swagger UI Framework to visualize and customize Swagger's output.
In the next chapter, we will explore how to deploy your microservice to the AWS cloud.