Complete the code to identify the main components of CQRS.
In CQRS, the [1] handles commands that change data.The Command side is responsible for handling commands that change the system state.
Complete the code to explain the role of the query side in CQRS.
The [1] is optimized for reading data and answering requests.
The Query side is designed to efficiently handle read operations in CQRS.
Fix the error in the description of CQRS event handling.
Events are published to the [1] to notify other parts of the system.The event bus is the component that distributes events to interested subscribers in CQRS.
Fill both blanks to complete the CQRS request flow.
Client sends a [1] to the [2], which updates the data and publishes events.
Clients send commands to the command side to change data in CQRS.
Fill all three blanks to complete the CQRS read model update process.
Events from the [1] are received by the [2], which updates the [3] for fast queries.
The command side publishes events, the event handler processes them, and the read model is updated for queries.
