Output Streams

Note

The Stream Connector is deprecated and we recommend using the MQTT connector for inter-task and inter-instance communications.

Add Output Stream

Output streams send data to input streams located elsewhere. Add output streams by selecting “Output Streams” in the navigation panel and by pressing the “Add” button. This will add an output stream with default settings. Output streams are added with “server” mode preselected.

../_images/stream-add-outputstream.png

Output streams can be added as an output target to one ore more tasks and will accept any topics and tags sent to the stream by the task.

Output Stream Server Settings

  • Name

    The name of the output stream that you choose.

  • Mode

    The mode determines whether the output stream acts as the server, accepting connections from input stream clients elsewhere, or whether the output stream acts as the client, initiating connections to a remote service. For server mode there are no additional settings. Remember to configure the local server in the stream configuration to make the output stream accessible.

../_images/stream-outputstream-server.png

Output Stream Client Settings

  • Name

    The name of the output stream that you choose.

  • Mode

    The mode determines whether the output stream acts as the server, accepting connections from input stream clients elsewhere, or whether the output stream acts as the client, initiating connections to a remote service. For client mode there are the following additional settings.

../_images/stream-outputstream-client.png
  • Confirm Delivery

    If ticked then each set of tag value updates needs to be acknowledged by the receiving input stream before the next set of values can be sent. Unacknowledged values remain as “Pending” in the task that sends values to the output stream. If a task sends values to multiple output streams that require delivery confirmation then the next set of values is not sent until the receiver input streams of each output stream have acknowledged receipt of the data. In this case it may be a better option to have different tasks configured to send the same data to one output stream each so that a single disconnected input stream does not hold up data delivery for all others.

  • Connect to service

    Select the remote service that the output stream should connect to as a client. Remote services are added in the remote service configuration.

Press the “Test Connection” button to confirm that the remote service is accessible.

Remove Output Stream

Select “Output Streams” in the navigation panel and an output stream in the content panel, then press the “Remove” button to remove the output stream.

../_images/stream-remove-outputstream.png

Warning

The Output stream will be also be removed from all tasks using the output stream.