You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mentions how to use various event sources / triggers with
OpenFaaS and adds caveats where authors have not yet added
basic-auth support to their trigger connectors.
Signed-off-by: Alex Ellis (VMware) <[email protected]>
Connect your function(s) to [Apache Kafka](https://kafka.apache.org) topics.
33
35
34
36
More information in the Incubator repository: [openfaas-incubator/kafka-connector](https://github.com/openfaas-incubator/kafka-connector)
35
37
38
+
Support is available for OpenFaaS Gateways using Basic Authentication.
39
+
36
40
#### AWS SNS
37
41
38
-
Trigger a function from AWS SNS Notifications and Subscriptions
42
+
You can use AWS SNS to trigger functions using AWS SNS Notifications and Subscriptions. This approach can be used to export almost any data-source or event from your Amazon Web Services (AWS) console such as S3 of DynamoDB to an OpenFaaS function.
43
+
44
+
Find more information in the following repository: [affix/OpenFaaS-SNS](https://github.com/affix/OpenFaaS-SNS)
45
+
46
+
#### Minio / S3
47
+
48
+
You can trigger OpenFaaS functions using Minio's webhook or Kafka integration.
More information in the repository: [affix/OpenFaaS-SNS](https://github.com/affix/OpenFaaS-SNS)
55
+
You can trigger OpenFaaS functions using webhooks sent via the (if this, then that) service.
56
+
57
+
An example may be triggering a function which forwards Tweets about your brand or project to a given Slack channel. For this combination use the "Twitter search" Applet and have it trigger the "Make a web request" Applet giving the public URL of your OpenFaaS gateway and the receiver function such as https://gw.my-company.com/function/slack-forwarder
58
+
59
+
See an example of a function built to forward Tweets from IFTTTT to Slack using Golang: [filter-tweets](https://github.com/openfaas-incubator/social-functions/blob/master/filter-tweets/handler.go).
60
+
61
+
Visit [ifttt.com](https://ifttt.com) to learn more.
41
62
42
63
#### CloudEvents
43
64
44
-
CloudEvents is a specification for describing event data in a common way. More information on [CloudEvents](https://cloudevents.io/)
65
+
[CloudEvents](https://cloudevents.io/) is a specification for describing event data in a common way.
45
66
46
-
Trigger functions from Azure EventGrid with the CloudEvents standard
67
+
Follow this example to learn how to trigger functions using the Azure EventGrid and CloudEvents.
47
68
48
69
More information in the repository: [johnmccabe/cloudevents-slack-demo](https://github.com/johnmccabe/cloudevents-slack-demo)
49
70
@@ -53,10 +74,18 @@ Invoke functions using Redis pub/sub and the [Sidekiq model](https://sidekiq.org
53
74
54
75
View the [sidekiq-connector](https://github.com/affix/sidekiq-connector)
55
76
77
+
> Note: the Redis connector currently has no support for gateways using Basic Authentication, but [this is being worked on](https://github.com/affix/sidekiq-connector/issues/1) by the author.
78
+
56
79
#### RabbitMQ (third-party project)
57
80
58
81
Invoke functions from RabbitMQ topics
59
82
60
83
More information in the repository: [Templum/rabbitmq-connector](https://github.com/Templum/rabbitmq-connector)
61
84
62
85
> 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.
Copy file name to clipboardExpand all lines: docs/tutorials/featured.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,4 +13,6 @@
13
13
14
14
*[Get storage for your Severless Functions with Minio & Docker](https://blog.alexellis.io/openfaas-storage-for-your-functions/)
15
15
16
+
*[Micro-tutorial for Redis and Node.js](https://gist.github.com/alexellis/e05a7b573ae22b209f0214d5766ff07e)
17
+
16
18
There are many more great tutorials and events by our community listed in our main [Community file](https://github.com/openfaas/faas/blob/master/community.md).
0 commit comments