Collection¶
The collection
source generates a stream of data items from an iterable collection.
It is useful for testing or for scenarios where data is pre-defined and available in-memory.
IterableSource.iterate("item1", "item2", "item3");
source:
collection:
elements:
- "item1"
- "item2"
- "item3"
Properties¶
elements
¶
Elements to emit. Required.
Type: array
Java dependency management¶
Add this declaration to your dependency management system to access the configuration DSL for this plugin in Java.
<dependency>
<groupId>org.voltdb</groupId>
<artifactId>volt-stream-connectors-api</artifactId>
<version>1.4.0</version>
</dependency>
implementation group: 'org.voltdb', name: 'volt-stream-connectors-api', version: '1.4.0'