serverless-plugin-kinesis-consumer

1.0.2 • Public • Published

serverless-plugin-kinesis-consumer

Lambda support for Kinesis enhanced fan-out has been released but without CloudFormation support.

Until then, this plugin uses Lambda-backed CloudFormation Custom Resources to configure things for you.

Usage

Add consumer to your Kinesis stream event mapping:

functions:
  hello:
    events:
      - stream:
          type: kinesis
          consumer: true # will auto-generate a name for the consumer
          arn: ...
      - stream:
          type: kinesis
          consumer: customConsumerName
          arn: ...

This is the only configuration necessary. Keep in mind ehanced fan-out has additional costs.

Package Sidebar

Install

npm i serverless-plugin-kinesis-consumer

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

10.5 kB

Total Files

5

Last publish

Collaborators

  • dougmoscrop