Class EventsGeneratorFunction
java.lang.Object
org.apache.flink.streaming.examples.statemachine.generator.EventsGeneratorFunction
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.functions.Function,org.apache.flink.connector.datagen.source.GeneratorFunction<Long,Event>
public class EventsGeneratorFunction
extends Object
implements org.apache.flink.connector.datagen.source.GeneratorFunction<Long,Event>
A generator function that produces the events on the fly. Useful for self-contained demos.
- See Also:
-
Constructor Details
-
EventsGeneratorFunction
public EventsGeneratorFunction(double errorProbability)
-
-
Method Details
-
open
public void open(org.apache.flink.api.connector.source.SourceReaderContext readerContext) throws Exception -
map
-