Building Event-Driven and Asynchronous Reactive Systems

This chapter will provide a detailed overview of event-driven architecture to build event-driven microservices as cloud-native applications. We will look at some of the important concepts and themes behind handling data consistency in distributed systems, we will be building a reference application using Spring Cloud and Reactor in the following chapter.

In the previous chapters, we have created microservice applications and we have seen how to implement routing for distributed applications using the Netflix Zuul API, and we implemented a REST client using the declarative Feign client.

By the end of this chapter, you will have a better understanding of the event-driven microservices architecture and how to build an event-driven and asynchronous reactive system using Spring Cloud Stream. This chapter will explore the need and solution for asynchronous service communication, using reactive programming, with a reference application using ReactiveX and Reactive Spring.

This chapter will cover the following topics:

  • Event-driven architecture patterns
  • Introduction to reactive programming
  • Spring Reactive
  • ReactiveX
  • Introduction to Command Query Responsibility Segregation
  • Introduction to Event Sourcing
  • Introduction to Eventual consistency
  • Building an event-driven Reactive Asynchronous System
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.86.211