Class KafkaStandaloneGenerator
- java.lang.Object
-
- org.apache.flink.streaming.examples.statemachine.generator.StandaloneThreadedGenerator
-
- org.apache.flink.streaming.examples.statemachine.kafka.KafkaStandaloneGenerator
-
public class KafkaStandaloneGenerator extends StandaloneThreadedGenerator
A generator that pushes the data into Kafka.
-
-
Field Summary
Fields Modifier and Type Field Description static StringBROKER_ADDRESSstatic intNUM_PARTITIONSstatic StringTOPIC
-
Constructor Summary
Constructors Constructor Description KafkaStandaloneGenerator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)Entry point to the kafka data producer.-
Methods inherited from class org.apache.flink.streaming.examples.statemachine.generator.StandaloneThreadedGenerator
runGenerator
-
-
-
-
Field Detail
-
BROKER_ADDRESS
public static final String BROKER_ADDRESS
- See Also:
- Constant Field Values
-
TOPIC
public static final String TOPIC
- See Also:
- Constant Field Values
-
NUM_PARTITIONS
public static final int NUM_PARTITIONS
- See Also:
- Constant Field Values
-
-