Skip to content

adaptris-labs/interlok-gcloud-pubsub-interop

Repository files navigation

interlok-gcloud-pubsub-interop gradle

Test interlok configuration that has two workflows:

  • One that exposes a HTTP endpoint /api/gcp which will produce to gcp pubsub topic my-topic
  • Another than consumes from gcp pubsub topic my-topic and logs the output.

Setup

# start pubsub emulator
docker-compose up -d
# create topic
curl -X PUT http://localhost:8042/v1/projects/interlok-test/topics/my-topic
# build interlok
gradle clean install
# start interlok
cd ./build/distribution
java -jar ./lib/interlok-boot.jar

Testing

curl -X POST http://localhost:8080/api/gcp -d '{ "key" : "value" }'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published