Skip to content

kflow-ai/cloud-event-proxy

Repository files navigation

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

About

A simple web app to proxy CloudEvents to GCP PubSub or AWS Kinesis Data Firehose

Resources

License

Stars

Watchers

Forks

Releases

No releases published