Skip to content

Commit d7e4254

Browse files
committed
Add event-connector diagram
Signed-off-by: Alex Ellis (VMware) <[email protected]>
1 parent 32e39fa commit d7e4254

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

docs/images/connector-pattern.png

960 KB
Loading

docs/reference/triggers.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ echo "triggered" | faas-cli invoke figlet
2929
3030
### Other Event Sources
3131

32+
#### Event-connector pattern
33+
34+
The OpenFaaS connector-pattern allows you to create a broker or separate microservice which maps functions to topics and invokes functions via the OpenFaaS Gateway meaning that the OpenFaaS code does not need to be modified per trigger/event-source.
35+
36+
![](../images/connector-pattern.png)
37+
38+
##### Add your own event source
39+
40+
If you'd like to add an event source which is not listed below you can fork the OpenFaaS event [connector SDK](https://github.com/openfaas-incubator/connector-sdk) which is written in Go and use this to connect your pub/sub topics or message queues to functions in OpenFaaS.
41+
3242
#### Apache Kafka
3343

3444
Connect your function(s) to [Apache Kafka](https://kafka.apache.org) topics.
@@ -83,9 +93,3 @@ Invoke functions from RabbitMQ topics
8393
More information in the repository: [Templum/rabbitmq-connector](https://github.com/Templum/rabbitmq-connector)
8494

8595
> Note: the RabbitMQ connector currently has no support for gateways using Basic Authentication, but [this is being worked on](https://github.com/Templum/rabbitmq-connector/issues/2) by the author.
86-
87-
88-
#### Add your own event source
89-
90-
If you'd like to add an event source which is not listed below you can fork the OpenFaaS event [connector SDK](https://github.com/openfaas-incubator/connector-sdk) which is written in Go and use this to connect your pub/sub topics or message queues to functions in OpenFaaS.
91-

0 commit comments

Comments
 (0)