Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

1.8.3 #527

Unanswered
hjgraca asked this question in General
1.8.3 #527
Nov 21, 2023 · 0 comments
Discussion options

Summary

In this release we are happy to announce the General Availability of Idempotency utility 🚀.
The Idempotency utility provides a simple solution to convert your Lambda functions into idempotent operations which are safe to retry.
During developer preview we have taken a lot of feedback. Better documentation, support for Idempotency InProgressExpiration timestamp, register the Lambda context in your handler.

Idempotency 1.0.0 Nuget package

🌟Key features

  • Prevent Lambda handler function from executing more than once on the same event payload during a time window.
  • Use DynamoDB as a persistence layer for state with bring your own persistence store provider.
  • Select a subset of the event as the idempotency key using JMESPath expressions.
  • Payload validation to provide an additional JMESPath expression to specify which part of the event body should be validated against previous idempotent invocations.
  • Set a time window in which records with the same payload should be considered duplicates
  • Expires in-progress executions if the Lambda function times out halfway through

Implementation example

image

Here is an example on how you register the Lambda context in your handler:

image

Lambda request timeout diagram

image

Quick links: 📜 Documentation | ⬇️ NuGet | 🐛 Bug Report

Changes

📜 Documentation updates

🐛 Bug and hot fixes

🔧 Maintenance

This release was made possible by the following contributors:

@hjgraca @amirkaws @hossambarakat


This discussion was created from the release 1.8.3.
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /