Skip to content

ShawnNeckelmann/LetsLearn.MassTransit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservices with MassTransit Syllabus

Create a microservice-architected restaurant application.

We will have an inventory API with one service per ingredient. Each ingredient will support a method of both modifying (consumer) and retrieving (producer) inventory.

Creating & “cooking” an order will also be supported, with each ingredient-service also responsible for preparing the ingredient.

  1. Advance Preparation
    1. Clone Repository
    2. Create/Push Own Branch
    3. Confirm Able to Start Solution Under Docker-Compose profile.
  2. Docker, Docker Compose, and Local Development
  3. Introduction to Consumers
    1. Concept
    2. Add the Inventory service to the solution
    3. Add endpoints to the Inventory Service to manage (C,U,D) inventory
    4. API Registration of the new Inventory Endpoints
  4. Introduction to Producers
    1. Concept
    2. Add endpoints to the Inventory Service to retrieve inventory
    3. Understanding Timeout
  5. Introduction to Sagas (Distributed Transactions)
    1. Concepts
      1. Instance
      2. States
      3. Events
    2. Adding the Order Service & State
      1. Add Order CRUD, Begin Preparation API endpoints
      2. Providing Saga Status
    3. Activities
      1. Discuss
      2. Add Activities
        1. Add Preparation Activities Per Ingredient
    4. Activity Compensation
      1. Discuss
      2. Demonstrate Compensation
        1. No inventory?
  6. Testing
  7. Export Service 3000 Overview



Inventory Endpoints

Consumer CreateItem UpsertInventoryItem

UpsertInventoryItem

Producer GetAllItems GetAllInventoryItems

GetAllInventoryItems

Producer GetItem

GetItem


Order Endpoints

StartOrder

StartOrder

OrderStatus

OrderStatus

Order AddItem

OrderAddItem

PrepareOrder

PrepareOrder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published