-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: srigovs <[email protected]>
- Loading branch information
1 parent
f5b0fee
commit f0fcd11
Showing
42 changed files
with
2,593 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Lambda Sink | ||
|
||
This plugin enables you to send data from your Data Prepper pipeline directly to AWS Lambda functions for further processing. | ||
|
||
## Usage | ||
```aidl | ||
lambda-pipeline: | ||
... | ||
sink: | ||
- lambda: | ||
aws: | ||
region: "us-east-1" | ||
sts_role_arn: "<arn>" | ||
function_name: "uploadToS3Lambda" | ||
max_retries: 3 | ||
batch: | ||
batch_key: "osi_key" | ||
threshold: | ||
event_count: 3 | ||
maximum_size: 6mb | ||
event_collect_timeout: 15s | ||
dlq: | ||
s3: | ||
bucket: test-bucket | ||
key_path_prefix: dlq/ | ||
``` | ||
|
||
## Developer Guide | ||
|
||
The integration tests for this plugin do not run as part of the Data Prepper build. | ||
The following command runs the integration tests: | ||
|
||
``` | ||
./gradlew :data-prepper-plugins:lambda-sink:integrationTest -Dtests.sink.lambda.region="us-east-1" -Dtests.sink.lambda.functionName="lambda_test_function" -Dtests.sink.lambda.sts_role_arn="arn:aws:iam::123456789012:role/dataprepper-role | ||
``` |
Oops, something went wrong.