https://github.com/pmuens/serverless-kinesis-streams
Serverless service to showcase Kinesis stream support
https://github.com/pmuens/serverless-kinesis-streams
Last synced: 6 months ago
JSON representation
Serverless service to showcase Kinesis stream support
- Host: GitHub
- URL: https://github.com/pmuens/serverless-kinesis-streams
- Owner: pmuens
- Created: 2016-10-11T18:26:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-11T21:01:28.000Z (almost 9 years ago)
- Last Synced: 2025-04-24T03:13:12.064Z (6 months ago)
- Language: JavaScript
- Homepage: http://serverless.com
- Size: 3.91 KB
- Stars: 24
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serverless Kinesis streams
Serverless service to showcase Kinesis stream support.
## Installation
Make sure that you use Serverless v1.
1. Run `serverless install --url https://github.com/pmuens/serverless-kinesis-streams` to install the service in your current working directory
2. Next up cd into the service with `cd serverless-kinesis-streams`
3. Run `npm install`
4. Create a new Kinesis stream called `data-receiver`
5. Update the stream ARN property in the `serverless.yml` file with the stream ARN of your `data-receiver` stream
6. Deploy with `serverless deploy`## How to use
1. Run `serverless invoke --function dataReceiver --path event.json` to send data to the Kinesis stream
2. Run `serverless logs --function logger` to see the which data was send to the Kinesis `date-receiver` stream## AWS services used
- Lambda
- Kinesis