-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
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.
To remediate, implement this component as Labmda function
Prerequisites (if any, like setup, operators/versions):
- minikube or crc
- AWS Account
Steps to Reproduce
- Follow the doc to run the application on CRC or Minikube with AWS provided services
- Use the website to place an order
- Go to "Catalog"
- Select a Product
- 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>