Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add SQS integration support for new Lambda provider #7032

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 24, 2022

Conversation

dominikschubert
Copy link
Member

@dominikschubert dominikschubert commented Oct 17, 2022

More or less as shortcut to get parity with the old provider by re-using most of the event source mapping / DLQ constructs.

Changes:

  • DLQ support for lambda ASF provider
  • SQS EventSourceMappings (a lot of the CRUD + tests is still WIP)
  • Support for OnSuccess / OnFailure Destinations => will come in a separate PR

@dominikschubert dominikschubert self-assigned this Oct 17, 2022
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests October 17, 2022 13:16 Inactive
@github-actions
Copy link

github-actions bot commented Oct 17, 2022

LocalStack integration with Pro

       3 files  ±0         3 suites  ±0   1h 14m 22s ⏱️ - 10m 23s
1 410 tests ±0  1 226 ✔️  - 1  184 💤 +1  0 ±0 
2 008 runs  ±0  1 592 ✔️  - 1  416 💤 +1  0 ±0 

Results for commit 09958be. ± Comparison against base commit 1122926.

♻️ This comment has been updated with latest results.

@dominikschubert dominikschubert force-pushed the lambda-eventsourcemapping-adapter branch from 81c776b to 3775bd0 Compare October 18, 2022 18:48
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests October 18, 2022 18:48 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests October 18, 2022 18:56 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests October 18, 2022 19:15 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests October 18, 2022 21:06 Inactive
@dominikschubert dominikschubert force-pushed the lambda-eventsourcemapping-adapter branch from 1789e31 to 05f9837 Compare October 19, 2022 07:57
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests October 19, 2022 07:57 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests October 19, 2022 08:02 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests October 19, 2022 10:04 Inactive
@dominikschubert dominikschubert marked this pull request as ready for review October 19, 2022 13:04
@thrau thrau force-pushed the lambda-eventsourcemapping-adapter branch from 1ac37e6 to 09958be Compare October 20, 2022 21:03
@thrau thrau temporarily deployed to localstack-ext-tests October 20, 2022 21:03 Inactive
Copy link
Member

@thrau thrau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well done! i think this is a very nice solution for now, and it feels very much like the kind of things we had to do to make the edge proxy work with asf 😬

i fixed a circular import error that i noticed when testing, then everything worked fine!
i created this terraform sample to test the integration between lambda and sqs https://github.com/localstack/localstack-terraform-samples/tree/master/sns-sqs-subscription-lambda-trigger works perfectly with the new provider!

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 79.377% when pulling 09958be on lambda-eventsourcemapping-adapter into 1122926 on master.

@thrau thrau merged commit 434b9eb into master Oct 24, 2022
@thrau thrau deleted the lambda-eventsourcemapping-adapter branch October 24, 2022 08:09
cmoralesmx pushed a commit to cmoralesmx/localstack that referenced this pull request Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants