Test interlok configuration that has two workflows:
- One that exposes a HTTP endpoint
/api/gcp
which will produce to gcp pubsub topicmy-topic
- Another than consumes from gcp pubsub topic
my-topic
and logs the output.
# 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
curl -X POST http://localhost:8080/api/gcp -d '{ "key" : "value" }'