Messaging and Notification
AWS Simple Notification System (SNS)
-
Description: the AWS SNS component allows messages to be sent to an Amazon Simple Notification Topic.
-
Example
-
The flow starts with a
POST
request at the endpoint/hello
. -
When a request is received, a message is sent to a topic in the AWS Simple Notification Service (SNS).
-
Script |
Diagram |
|
AWS Simple Queue Service (SQS)
-
Description: the AWS SQS component supports sending and receiving messages to the Amazon SQS service.
-
Example
-
The flow starts with a
POST
request at the endpoint/hello
. -
When a request is received, a message is sent to the Amazon SQS service.
-
Script |
Diagram |
|
Kafka
-
Description: the Kafka component is used for communication with the Apache Kafka message broker.
-
Example
-
The flow starts with a
POST
request at the endpoint/kafka
. -
The received message is then sent to one or more Kafka topics that match the pattern
retry*
. -
The connection to Kafka is made through the specified broker.
-
URI parameters:
-
brokers: "54.207.234.81:38082"
: specifies the address of the Kafka broker (in this case, 54.207.234.81 on port 38082). -
topicIsPattern: true
: indicates that the topic to which the message is being sent should be interpreted as a pattern, allowing messages to be sent to all topics that match the patternretry*
.
-
-
Script |
Diagram |
|
Paho
-
Description: The Paho component enables applications to integrate with the MQTT protocol, facilitating communication between devices and systems in Internet of Things (IoT) environments.
-
Example
-
The flow starts with a
GET
request to thesensor/temperature
endpoint. -
The sensor message is received via the Paho connector (configured with the MQTT broker URL:
ssl://broker.brokername.com:8883
) and sent to the next step. -
The flow logs the message received from the MQTT sensor using the variable
${body}
to display the message content. -
If a message with the content
"Sensor data: 24°C"
is published to thesensor/temperature
topic, the log will record:"Got message Sensor data: 24°C"
.
-
Script |
Diagram |
|
Paho MQTT5
-
Description: The Paho MQTT5 component enables applications to integrate with the MQTT protocol (version 5), offering advanced messaging features such as persistent sessions and flow control.
-
Example
-
The flow is identical to the one described for the Paho component, with the difference that this uses version 5 of the MQTT protocol.
-
Script |
Diagram |
|
Slack
-
Description: The Slack component allows you to send messages, notifications, and alerts to Slack channels or users directly from your integration flows.
-
Example
-
The flow makes a
POST
request to the/hello
endpoint. -
It sends the response to a Slack channel using an authentication token.
-
Then, it logs a confirmation message indicating that the message was successfully sent.
-
Script |
Diagram |
|
Share your suggestions with us!
Click here and then [+ Submit idea]