10 Event-driven applications and functions

This chapter covers

  • Understanding event-driven architectures
  • Using RabbitMQ as a message broker
  • Implementing functions with Spring Cloud Function
  • Processing events with Spring Cloud Stream
  • Producing and consuming events with Spring Cloud Stream

In the previous chapters, we worked on a system of distributed applications that interact according to the request/response pattern, a type of synchronous communication. You saw how to design the interaction both in an imperative and a reactive way. In the first case, processing threads would block, waiting for a response from an I/O operation. In the second case, threads would not wait. A response would be processed by any available thread asynchronously once ...

Get Cloud Native Spring in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.