Add message queue trigger support (#218)

Adds support for message queue triggers based on the NATS-Streaming message queue.

This lets the user map a queue topic to a function, and optionally send the function's response into another queue topic.

The message queue trigger manager is designed to be message queue independent, so we should be able add support for more queues by adding implementations for the relatively simple mqtrigger.MessageQueue interface.
This commit is contained in:
Ta-Ching Chen
2017-07-05 17:19:58 -07:00
committed by Soam Vasani
parent 0fd60eab3b
commit e4fe007838
24 changed files with 1417 additions and 10 deletions
Generated
+15
View File
@@ -88,6 +88,21 @@ imports:
- buffer
- jlexer
- jwriter
- name: github.com/nats-io/go-nats
version: 6949c8e06a246e4177961aab22940b5c411e48f0
subpackages:
- encoders/builtin
- util
- name: github.com/nats-io/go-nats-streaming
version: 6e620057a207bd61e992c1c5b6a2de7b6a4cb010
subpackages:
- pb
- name: github.com/nats-io/nats-streaming-server
version: 7a922646104d066c98527959455993231fadd168
subpackages:
- util
- name: github.com/nats-io/nuid
version: 289cccf02c178dc782430d534e3c1f5b72af807f
- name: github.com/pborman/uuid
version: 3d4f2ba23642d3cfd06bd4b54cf03d99d95c0f1b
- name: github.com/PuerkitoBio/purell