Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Developing Ordering Microservice Consume CheckoutBasket Event

Pragya Keshap answered on February 13, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • Security challenges with microservices
  • Developing Checkout Basket for Send Event to AWS EventBridge From Basket Microservice with AWS SDK
  • Developing Ordering Microservice Consume CheckoutBasket Event from AWS EventBridge Async Invocation with AWS SDK
  • Developing Ordering Microservice Sync Invocation
  • Testing Basket Microservices CheckoutBasket EventBridge Async Flow
  • Basket microservice which includes;
  • Ordering microservice which includes;

  • Developing Ordering Microservice Consume CheckoutBasket Event

    0

    And we have several use cases across microservices like that: a customer create orders with some products and, if the payment is successful,

    the products should be delivered to the customer. So the we can perform the whole process with events and events is more understandable for customers also. These could be flow of events like;

    a customer creates an order

    the customer receives a payment request

    if the payment is successful the stock is updated and the order is delivered

    if the payment in not successful, rollback the order and set order status is not completed.

    This is more humanly readable and, if a new business requirement appears, it is easier to change the flow.

    https://medium.com/aws-lambda-serverless-developer-guide-with-hands/event-driven-microservice-architecture-using-amazon-eventbridge-sqs-and-lambda-16eb83266b9d

    Popularity 1/10 Helpfulness 1/10 Language typescript
    Source: Grepper
    Tags: typescript
    Link to this answer
    Share Copy Link
    Contributed on Feb 13 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.