Building an event-driven Reactive Asynchronous System
Let's build a sample project that demonstrates how to create a real-time streaming application using event-driven architecture, Spring Cloud Stream, Spring Boot, Apache Kafka, and Spring Netflix Eureka. Let's see the application architecture:
We have used Netflix Hystrix to implement the circuit breaker pattern, we will discuss it in Chapter 10, Building Resilient Systems Using Hystrix and Turbine. We also configured the API Gateway proxy using Netflix Zuul, as we have already discussed in Chapter 7, Creating API Gateway with Netflix Zuul Proxy.
In previous chapters, we have discussed using microservices architectures to decouple large and complex systems into simple independent micoservices. In this chapter, we are discussing the Event-driven microservices architecture, it is a methodology used to produce, handle events, and implement applications where events transmit among decoupled software components and services.
We are going to create...