Skip to end of metadata
Go to start of metadata

A Topic serves as a unique ID used to communicate with an MQTT message broker. Clients publish messages to the Topic. When you add a Topic to a LoopEdge Cloud Connector, the MQTT broker uses it to filter messages for the connected client.

Prerequisites

Before you add a topic to a cloud connector, you need to retrieve the topic from DeviceHub.

  1. DeviceHub > Tags
  2. Click the  icon to the right of the tag's Raw Topic to copy the topic to the clipboard.

Add a Cloud Connector Topic

To add a topic to a DataHub Cloud Connector:

  1. In the LoopEdge navigation panel, select DataHub.
  2. Select the DataHub tab.
    The connector that you created should be listed here.



  3. In the Topics section, click the + icon.



  4. Select the cloud connector from the drop-down list.
  5. In the Topic Name field, right-click and paste the topic that you copied from the tag in DeviceHub. See Prerequisites.
  6. Add an optional topic description.
  7. Click Create.

See Subscribing to DeviceHub Topics for more information on how to subscribe to Topics and how to use Wildcards that enable subscription to multiple topics.

What's Next?

Now that you have added a Cloud Connector and a Topic, Validate LoopCloud Connectivity.