tester example
Test and emit to the "payment.received" topic
go build
export PASSWORD="Your gateway password"
./tester \
-username=admin \
-password=$PASSWORD
Deploy an example function to be triggered by the topic:
faas-cli store deploy printer --annotation topic=payment.received
Emit a custom topic:
go build
export PASSWORD="Your gateway password"
./tester \
-username=admin \
-password=$PASSWORD \
-topic "custom/topic/1"
Deploy an example function to be triggered by the topic:
faas-cli store deploy printer --annotation topic=custom/topic/1