Creating the MQTT Connection
To use this connector, you must first create an MQTT connection. The MQTT connection contains the parameters required to connect to the MQTT server. The MQTT connection is used by all the activities in the MQTT category.
The MQTT Publisher activity and MQTT Subscriber trigger reconnect automatically to the MQTT broker in the event of a connection failure. The client uses a cleanSession flag value of true. If the client is disconnected for any reason, none of the messages from a previous session are retained.
Before you beginBefore you create a connection, familiarize yourself with MQTT. For details about how to use the product, see the MQTT documentation.
- Procedure
- On the global navigation bar, click
Connections and perform one of the following actions:
To add a connection for the first time, click the Create connection link and then select the MQTT Connector card. You can search for a connector by typing the connector name in the search field.To create subsequent connections, click theCreate button.
- In the MQTT Connector dialog box, enter the connection details. For field descriptions, see MQTT Connection Details.
- Click Save.
Subtopics