cloud-event-proxy

module
v0.0.0-...-1c0a301 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2023 License: Apache-2.0

README

cloud-event-proxy

A simple web app to proxy CloudEvents to GCP PubSub.

In the future, we will also support AWS Kinesis Data Firehose

Setup

Set up the Application Default Credentials on your local CLI to the target Google Cloud project:

gcloud auth application-default login

Ensure your PubSub topic exists and set the following env vars:

export CEP_PUBSUB_PROJECT_ID=<your-project-id>
export CEP_PUBSUB_TOPIC_ID=<your-topic-id>

Then either run in Docker:

docker compose up

Or run using your local Go development environment:

go run cmd/cloudeventproxy/main.go

Generate License

Install addlicense:

go install github.com/google/addlicense@v1.0.0

Make sure all files contain a license:

addlicense -c "Cake AI Technologies, Inc." -y $(date +"%Y") -l apache -s=only ./**/*.go

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL