Skip to content

fillmore-labs/microbatch-lambda

Repository files navigation

Go Micro-Batch Demonstration

Purpose

This code demonstrates the use of the go package fillmore-labs.com/microbatch.

Running

Prerequisites

The example assumes AWS cli, AWS cdk, configured AWS credentials, Go and yq installed.

Deploy the Lambda to your account with the supplied script

./deploy.sh

This deploys the CloudFormation stack and updates config.yaml for the client.

Starting the Client

Simply

go run ./client

Cleaning Up

cdk destroy -f

Packages

client

The sample client using fillmore-labs.com/microbatch.

api

Shared API for client and lambda handler.

lambda

The AWS Lambda function handler.

The business logic ProcessJobs is in function.go.

lambda/cmd/bootstrap

The AWS Lambda entry point.

cdk

The AWS CDK app containing the lambda stack.

cdk/pkg/server

The AWS CDK stack describing the lambda deployment.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published