Subscriber Connections

You can add Subscriber Connections for use later on when creating a new IoT Project. This makes it easier; to select from existing Subscriber Connections from a pulldown menu; than to add the required connection string information and related properties each time.

 

To Create a Subscriber Connection:

  1. In the Workbench, expand a project and the expand the Internet of Things node. Right-click on the Subscriber Connections node, as shown below, and then click on Add Subscriber Connection.

Add Subscriber Connection from Project Explorer in the Workbench

 

-OR-

 

Select Subscriber Connections then click on the Add Subscriber Connection button (shown below) in the Edit section of the Home ribbon in the Workbench.

 

Add Subscriber Connection Button

  1. This opens the Subscriber Connection properties window, as shown below, in the Workbench. Enter a Name for the Subscriber Connection in the top text entry field.

Subscription Connection Properties in the Workbench

 

General Settings

Datasets Support

Azure Event Hub

Selecting 'Azure Event Hub' in the Connection Type setting in General Settings activates the following section.

 

Event Hub Settings

 

Event Hub Settings

Early Start Settings

 

Early Start Settings

Note: The server will create a position using the last offset, timestamp, or sequence number retrieved. If they are not available, it will retrieve the value from the position specified in the fallback setting.

Azure IoT Hub

Selecting 'Azure IoT Hub' in the Connection Type setting in General Settings activates the following section.

 

IoT Hub Settings

 

IoT Hub Settings

Early Start Settings

 

Early Start Settings

Note: The server will create a position using the last offset, timestamp, or sequence number retrieved. If they are not available, it will retrieve the value from the position specified in the fallback setting.

MQTT

Selecting 'MQTT" in the Connection Type setting in General Settings activates the following sections.

 

MQTT Settings

 

MQTT Basic Settings

MQTT Security Settings

MQTT Topic Management (not available when compatibility is enabled)

MQTT Back Channel (not available when compatibility is enabled)

  1. When you have completed your settings, click on the Apply button. Click on Close to return to the Workbench. Your new Subscription Connection will now appear in the Project Explorer.

See Also:

IoTWorX Configuration in Workbench

Internet of Things Node

Publisher Connections

Custom Encoders/Decoders

MQTT Brokers

Collection Groups

Analyzer Groups

Logger System Settings

Loggers

Publish Lists

Nodes