aws-samples / serverless-patterns

Serverless patterns. Learn more at the website: https://serverlessland.com/patterns.
https://serverlessland.com
Other
1.61k stars 928 forks source link

New serverless pattern - stepfunctions-lambda-dotnet-cdk #2492

Closed tejasavora closed 1 week ago

tejasavora commented 1 month ago

Issue #, if available: N/A

Description of changes: This Pull Request introduces a new serverless pattern: "Serverless Microservices Communication with AWS Step Functions and .NET Lambda". The pattern demonstrates how to create a serverless blog processing system using AWS Step Functions to orchestrate multiple AWS Lambda functions. Key features include:

  1. AWS CDK implementation in .NET for infrastructure as code.
  2. Step Functions state machine that orchestrates the following workflow:
    • Content Creation: Lambda function to create blog post content
    • Content Validation: Lambda function to validate the content
    • Image Processing: Lambda function to process associated images (for valid content)
    • Publishing: Lambda function to publish the validated and processed blog post
  3. Error handling and compensation logic within the Step Functions workflow.
  4. Extraction and reporting of successfully published blog post IDs.
  5. Parallel execution capabilities for processing multiple blog posts.

The pattern includes:

This pattern showcases best practices for serverless microservices communication and demonstrates the power of AWS Step Functions for orchestrating complex workflows.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

tejasavora commented 2 weeks ago

Hi @marcojahn That directory was checked-in by mistake (due to branch changes). I have removed the directory. Would you please review the changes now? Thank you.

marcojahn commented 1 week ago

Hi @tejasavora 👋

Thank you for your valuable contribution! While the implementation is well-crafted, I'll have to decline merging this PR into serverless patterns. The scope extends beyond our focus on service interaction patterns, as this is primarily a Step Functions workflow solution.

Given the quality of your work, I'd strongly encourage you to submit this to:

These would be better homes for your implementation and would reach the right audience.

Best regards, Marco