awslabs / dynamodb-streams-kinesis-adapter

The Amazon DynamoDB Streams Adapter implements the Amazon Kinesis interface so that your application can use KCL to consume and process data from a DynamoDB stream.
Apache License 2.0
99 stars 37 forks source link

[General Question]: Can i use this in AWS Lambda? #34

Closed santhosh34 closed 4 years ago

santhosh34 commented 4 years ago

Can we use this logic to process the stream of records in AWS Lambda? How can we manage the time limit if huge stream data?

aggarwal commented 4 years ago

AWS Lambda natively supports reading data from DynamoDB Streams, and you should be using that support directly.

See: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.Lambda.html

We advise against using the DynamoDB Streams Kinesis Adapter and Kinesis Client Library (KCL) in a Lambda function as KCL is a long running process, and Lambda functions should generally be short lived.