Get Started Free
course: Microservices 101

Commands, Queries, and Events

7 min
Wade Waldron

Wade Waldron

Staff Software Practice Lead

Commands, Queries, and Events

Overview

Messages between microservices come in three different flavors: Commands, Queries, and Events. Commands change the state, Queries request the state, and Events share the state. When designing microservice communication patterns, it is important to understand the role of these messages. Following a clear set of rules can help ensure consistency and clarity within your system of microservices.

Topics:

  • Commands
  • Queries
  • Events
  • Delta Events
  • Fact Events
  • Data Coupling

Resources

Use the promo code MICRO101 to get $25 of free Confluent Cloud usage

Be the first to get updates and new content

We will only share developer content and updates, including notifications when new content is added. We will never send you sales emails. 🙂 By subscribing, you understand we will process your personal information in accordance with our Privacy Statement.