Skip to content

Event Sourcing Workflow Pattern #93

@joshanir

Description

@joshanir

To submit a workflow to the Step Functions Workflows Collection, submit an issue with the following information.

To learn more about submitting a workflow, read the publishing guidelines page.

  1. Use the model template located at https://github.com/aws-samples/step-functions-workflows-collection/tree/main/_workflow-mode to set up a README, template and any associated code.

  2. All the information below must be provided in the "example-workflow.json" file cloned from the model **

Note the following information for the model:

  • Description (intro.text) should be a 300-500 word explanation of how the pattern works.
    This workflow demonstrates how to implement the event sourcing design pattern using AWS Step Functions.

The example implementation demonstrates a mock product inventory workflow. All product inventory events are sent to a Step Function workflow which executes series of task and persists the state of a business entity (Product) as a sequence of state-changing events. Each task contains mock logic that processes a specific product event (ex: productReceived, ProductShipped etc.). It then passes on the updated product state to the next processing task. The updated product state changes along with input event is stored in the Product Inventory Event log.

  • Simplicity: must be 1 of (1 - Fundamental, 2 - Pattern, 3 - Application )
    2
  • Diagram: This must link to an Exported PNG of the workflow that shows any service integrations, you can export this from Workflow studio.
    https://github.com/joshanir/aj-serverless-proj/blob/v1/event-sourcing/statemachine/event-sourcing.asl.json
  • Type: Must be one of (Standard, Express)
    Standard
  • Resources should link to AWS documentation and AWS blogs related to the post (1-5 maximum).
  • Framework: currently, we support SAM or CDK.
  • Author bio may include a LinkedIn and/or Twitter reference and a 1-sentence bio.

You must ensure that the sections of the model README.md are completed in full.

All artifacts are available here... https://github.com/joshanir/aj-serverless-proj/tree/v1/event-sourcing

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions