Skip to content
/ lambda Public

Golang based lambda which gets triggered on an AWS SNS event and writes that SNS message to AWS Kafka.

Notifications You must be signed in to change notification settings

niks02/lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lambda

  • Lambda will get triggered on an SNS event and will write to specified Kafka topic

Env Variables

  • MSK_CLUSTER_ARN - Kafka ARN to fetch broker URL
  • AWS_REGION - AWS region where lambda is present
  • KAFKA_WRITE_TOPIC - Kafka topic where lambda will write

Building the service

  • After cloning the repo, go to the directory where repo is cloned
  • Set the environment variables and execute the following commands
  • "go build ."
  • "./lambda"

Building Docker Image

  • docker build -t lambda .

About

Golang based lambda which gets triggered on an AWS SNS event and writes that SNS message to AWS Kafka.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published