Data generation function
(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