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

New serverless pattern - Kinesis - EventBridge Pipes (filter + enrichment) - SFN #2233

Conversation

aphilippartd
Copy link
Contributor

@aphilippartd aphilippartd commented Apr 5, 2024

Issue #, if available: #2234

Description of changes: Create an EventBridge Pipe to connect a Kinesis Data Stream and a Step Functions Workflow while filtering and enriching messages

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Image contains PII. Please delete it and add one that PII like account numbers masked.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Masked

Copy link
Contributor

Choose a reason for hiding this comment

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

Image contains PII. Please delete it and add one that PII like account numbers masked.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Masked

1. Grab the Amazon Kinesis Stream name from the SAM deployment outputs
2. Run the following commands from your terminal
```curl
aws kinesis put-record --stream-name REPLACE_YOUR_STREAM_NAME --data '{ "message": "Hello World", "category": "PASS_FILTER" }' --partition-key MY_PARTITION_KEY
Copy link
Contributor

Choose a reason for hiding this comment

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

AWS CLI v2 requires "--cli-binary-format raw-in-base64-out". Please test it and update README accordingly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@parikhudit
Copy link
Contributor

Thanks for the contribution @aphilippartd. Our DA team will merge the changes soon.

@julianwood julianwood merged commit 48b86d6 into aws-samples:main Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants