Uploaded image for project: 'Service Binding'
  1. Service Binding
  2. APPSVC-1274

Demo App integration with DynamoStreams

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • Primaza 0.1
    • None
    • Service Binding
    • None
    • AppSvc Sprint 236, AppSvc Sprint 237

      Description of problem:

      When using AWS provisioned DynamoDB, the microservice orders-events-consumer is not always fetching DynamoDB events properly.

      DynamoStreams service exposes a non-trivial interface for fetching DynamoDB events.
      To read events you must connect to the Streams exposed by DynamoStreams. Each stream contains one or more of Shards of events. The number of Streams, and Shards for each Stream can vary in time.

      https://www.tecracer.com/blog/2022/03/deep-dive-into-dynamodb-streams-and-the-lambda-integration.html

       

      To remediate, implement this component as Labmda function

      Prerequisites (if any, like setup, operators/versions):

      1. minikube or crc
      2. AWS Account

      Steps to Reproduce

      1. Follow the doc to run the application on CRC or Minikube with AWS provided services
      2. Use the website to place an order
        1. Go to "Catalog"
        2. Select a Product
        3. Buy the Product

      Actual results:

      Most of the times, the product Ordered Quantity is updated, but not always

      Expected results:

      Eventually, the product Ordered Quantity should be updated

      Reproducibility (Always/Intermittent/Only Once):

      Intermittent

      Build Details:

      Additional info:

      Documentation Requirement: Yes/No (needs-docs|upstream-docs / no-doc)

      Upstream: <Inputs/Requirement details>/ Not Applicable

      Downstream: <Type: Doc defect/More inputs to doc>/ Not Applicable

      Provide link to the relevant section
      Provide doc inputs and details required

      Release Notes Type: <New Feature/Enhancement/Known Issue/Bug
      fix/Breaking change/Deprecated Functionality/Technology Preview>

              dperaza@redhat.com David Peraza
              rh-ee-filario Francesco Ilario
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: