Skip to content

Commit f2d4b64

Browse files
committed
Fix indent
Signed-off-by: Alex Ellis (VMware) <[email protected]>
1 parent d7e4254 commit f2d4b64

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

docs/reference/triggers.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,66 +27,66 @@ echo "triggered" | faas-cli invoke figlet
2727

2828
> CLI invocation can also be async by passing the `-a` flag to the `invoke` call
2929
30-
### Other Event Sources
30+
## Other Event Sources
3131

32-
#### Event-connector pattern
32+
### Event-connector pattern
3333

3434
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.
3535

3636
![](../images/connector-pattern.png)
3737

38-
##### Add your own event source
38+
#### Add your own event source
3939

4040
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.
4141

42-
#### Apache Kafka
42+
### Apache Kafka
4343

4444
Connect your function(s) to [Apache Kafka](https://kafka.apache.org) topics.
4545

4646
More information in the Incubator repository: [openfaas-incubator/kafka-connector](https://github.com/openfaas-incubator/kafka-connector)
4747

4848
Support is available for OpenFaaS Gateways using Basic Authentication.
4949

50-
#### AWS SNS
50+
### AWS SNS
5151

5252
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.
5353

5454
Find more information in the following repository: [affix/OpenFaaS-SNS](https://github.com/affix/OpenFaaS-SNS)
5555

56-
#### Minio / S3
56+
### Minio / S3
5757

5858
You can trigger OpenFaaS functions using Minio's webhook or Kafka integration.
5959

6060
* [Minio's webhook integration](https://blog.minio.io/introducing-webhooks-for-minio-e2c3ad26deb2)
6161
* [Minio's Kafka integration](https://docs.minio.io/docs/minio-bucket-notification-guide.html#apache-kafka)
6262

63-
#### IFTTT
63+
### CloudEvents
6464

65-
You can trigger OpenFaaS functions using webhooks sent via the (if this, then that) service.
65+
[CloudEvents](https://cloudevents.io/) is a specification for describing event data in a common way.
6666

67-
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
67+
Follow this example to learn how to trigger functions using the Azure EventGrid and CloudEvents.
6868

69-
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).
69+
More information in the repository: [johnmccabe/cloudevents-slack-demo](https://github.com/johnmccabe/cloudevents-slack-demo)
7070

71-
Visit [ifttt.com](https://ifttt.com) to learn more.
71+
### IFTTT
7272

73-
#### CloudEvents
73+
You can trigger OpenFaaS functions using webhooks sent via the (if this, then that) service.
7474

75-
[CloudEvents](https://cloudevents.io/) is a specification for describing event data in a common way.
75+
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
7676

77-
Follow this example to learn how to trigger functions using the Azure EventGrid and CloudEvents.
77+
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).
7878

79-
More information in the repository: [johnmccabe/cloudevents-slack-demo](https://github.com/johnmccabe/cloudevents-slack-demo)
79+
Visit [ifttt.com](https://ifttt.com) to learn more.
8080

81-
#### Redis (third-party project)
81+
### Redis (third-party project)
8282

8383
Invoke functions using Redis pub/sub and the [Sidekiq model](https://sidekiq.org).
8484

8585
View the [sidekiq-connector](https://github.com/affix/sidekiq-connector)
8686

8787
> 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.
8888
89-
#### RabbitMQ (third-party project)
89+
### RabbitMQ (third-party project)
9090

9191
Invoke functions from RabbitMQ topics
9292

0 commit comments

Comments
 (0)