Skip to content

atifmerghad/dynamoDB-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynamoDB-kafka

AWS Bash


Pipeline

This is a demo Lambda function that produces events to a Kafka topic, notifying consumers about new records in DynamoDB.

To deploy this, you'll need:

  • Apache Kafka cluster. I used Confluent Cloud, AWS MSK.

  • Create a deployment package for lambda - this is a zip that contains the lambda_dynamodb_kafka.py file and all the dependencies. In this case, the dependency is kafka-python, and you can pull it into the zip by running:

pip install kafka-python -t

  • Upload the package to Lambda. I used the GUI. Make sure the handler is lambda_dynamodb_kafka.lambda_handler, that you set the privileges correctly and that you use Python 2.7.

##Testing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages