Data generation function
accepts any collection which can be converted to an InputStream backend
(Since version ) see corresponding Javadoc for more information.
Used to generate InputStreams in a dag.
Is useful for mocking out other possible inputs like Kafka for testing
the collection
the elements