Bring two input streams into a custom plugin

Situation:

 

 We need to bring in two different streams into a plugin. We tried to name the streams and then pick them up in the plugin but facing some error like 

java.io.IOException: No source stream available with name origInputStream

image001.png

 

Tip:

 

1) We have created a process flow to generate a similar requirement.

 MultiStream.jpg


2) If you need multiple stream then the name of the Multiple stream should be same as File Source activity.

 

Stream.jpg

3) We have written Custom Plugin to fetch multiple stream and were able to successfully fetch data from the 2 Source activities. The output of the  Custom Plugin can be verified in the Kernel logs - (Custom plugin attached).

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.