Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Stream Interconnect is a feature in  that enables output data from one stream to be used as the input for a second stream. This feature can help a user avoid the complexity of 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 function. The names of the collector and forwarder functions are:

  • Interconnect Receiver (Collector)
  • Interconnect Sender (Forwarder)

Note!

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. 

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!

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. 

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. 


Note!

When configuring a Stream Group that consists of streams using the Stream Interconnect feature, the stream containing the Interconnect Sender must be run prior to the stream containing the Interconnect Receiver.








  • No labels