From the course: Microservices: Asynchronous Messaging
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Event-driven microservices
From the course: Microservices: Asynchronous Messaging
Event-driven microservices
- [Instructor] One of the most common use cases for asynchronous messaging in a microservices-based system is so-called EventDriven microservices. Oftentimes, you'll hear of EventDriven microservices being applied to a data pattern, and we will discuss that when we talk about data but for the purposes of this chapter, we are talking very generic about EventDriven microservices and how to apply them to your use cases. An EventDriven microservices pattern requires one or more steps based on the invocation from a specific event. These can be as simple as writing a tuple to a database, or as complex as a series of remediation processes that are required when a specific system event occurs. Again, the sky is the limit here when working in these models, but the key is one or more steps. Those steps, however, are triggered from a single event. We don't usually build EventDriven microservices based on several events being fired…