public class CfgTickGenerator extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PBegin,org.apache.beam.sdk.values.PCollection<String>>
Constructor and Description |
---|
CfgTickGenerator(String message,
Integer interval,
long maxNumRecords)
Initialize new
CfgTickGenerator |
Modifier and Type | Method and Description |
---|---|
org.apache.beam.sdk.values.PCollection<String> |
expand(org.apache.beam.sdk.values.PBegin begin) |
public CfgTickGenerator(String message, Integer interval, long maxNumRecords)
CfgTickGenerator
The source for this transform is unbounded. The maxNumRecords parameter is intended to place an upper limit on the number of records generated for testing purposes; under normal circumstances this parameter should be set to -1.
message
- Message to emitinterval
- Seconds between emissionsmaxNumRecords
- Only generate specified number of records and stopCopyright © 2022. All rights reserved.