Serverless service to showcase Kinesis stream support.
Make sure that you use Serverless v1.
- Run
serverless install --url https://github.com/pmuens/serverless-kinesis-streams
to install the service in your current working directory - Next up cd into the service with
cd serverless-kinesis-streams
- Run
npm install
- Create a new Kinesis stream called
data-receiver
- Update the stream ARN property in the
serverless.yml
file with the stream ARN of yourdata-receiver
stream - Deploy with
serverless deploy
- Run
serverless invoke --function dataReceiver --path event.json
to send data to the Kinesis stream - Run
serverless logs --function logger
to see the which data was send to the Kinesisdate-receiver
stream
- Lambda
- Kinesis