Skip to content

Latest commit

 

History

History
 
 

14-Projections.EventualConsistency

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Exercise 13 - Projections Idempotency

With the Database interface representing the sample database, implement the following projections:

  1. Detailed view of the shopping cart:
    • total amount of products in the basket,
    • total number of products
    • list of products (e.g. if someone added the same product twice, then we should have one element with the sum).
  2. View of the summary of the customer's purchases, where we have information about:
    • the number of all products in the confirmed shopping carts
    • the total amount of confirmed product items.

Add event handlers registrations in ProjectionsTests calling EventBus.Register method.

Track and implement proper idempotency and eventual consistency handling in projection event handlers.