Skip to content
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

feat: Introduce AWS Lambda sink #208

Merged
merged 1 commit into from
Mar 18, 2022
Merged

feat: Introduce AWS Lambda sink #208

merged 1 commit into from
Mar 18, 2022

Conversation

scarmuega
Copy link
Member

This PR introduces a new sink that sends each event as an invocation to an AWS Lambda function.

  • it uses the existing feature flag names aws to enable the feature / dependencies
  • the payload sent to the function is the JSON-encoded version of the on-chain event
  • It uses the default credentials provider chain logic as common AWS libraries (env vars, .aws/credentials, EC2 context, etc)
  • the built-in retry logic of the library is used for failed requests. Max retries is configurable at the sink-level.

@scarmuega scarmuega added the enhancement New feature or request label Mar 18, 2022
@scarmuega scarmuega added this to the v1.3 milestone Mar 18, 2022
@scarmuega scarmuega requested review from rinor and rvcas March 18, 2022 11:01
@scarmuega scarmuega self-assigned this Mar 18, 2022
Copy link
Member

@rvcas rvcas left a comment

Choose a reason for hiding this comment

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

excellent!

@scarmuega scarmuega merged commit 81fb6f5 into main Mar 18, 2022
@scarmuega scarmuega deleted the feat/aws-lambda branch March 18, 2022 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants