Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Added

Stream Interconnect is a feature in  that enables in Usage Engine that enables the user to forward output data from one stream to be used as the input for a second processed by another stream. This feature can help a user avoid the complexity of helps with flexibility in reusing streams with a common logic and avoid having large streams with complex business logic and have flexibility in reusing streams with a common logic. .

The Stream Interconnect feature comprises a Forwarder function and a Collector functiontwo functions, one which acts as a collector and the other as a forwarder. The names of the collector and forwarder functions are:

Note
titleNote!

To use Stream Interconnect, the collector stream must be created before the forwarder stream.

Interconnect Receiver

As a first step, a stream containing an Interconnect Receiver must be created in order to link it to the stream containing an Interconnect Sender.

For example, consider a stream shown below containing an Interconnect Receiver, Map and Log functions. This stream collects incoming data from a stream that sends output data using an Interconnect Sender. 

Image Removed

The name of the stream with the Interconnect Receiver must be provided in the configuration of the Interconnect Sender to connect both the two streams. You can also copy the name from the configuration of the Interconnect Receiver and paste it in the Forward data to stream option in the configuration of the Interconnect Sender.

Note
titleNote!

An Interconnect Receiver can receive output data from multiple Interconnect Senders but the Stream Interconnect feature only works if all the streams involved are part of the same Solution.

Interconnect Sender

The Interconnect Sender function is used to forward output data to be collected by the stream containing the Interconnect Receiver function.

For example, consider a stream shown below containing a Data Generator, Map and Interconnect Sender functions. This stream forwards output data to an Interconnect Receiver present in a different stream. 

Image Removed

In the configuration of the Interconnect Sender, you can select the stream to which you want to forward the output data to in the Forward data to stream option. A notification is displayed after successfully connecting the streams. 

...

titleNote!

...