Class BatchDataGeneratorPushSource
java.lang.Object
org.apache.pulsar.io.core.BatchPushSource<Person>
org.apache.pulsar.io.batchdatagenerator.BatchDataGeneratorPushSource
- All Implemented Interfaces:
AutoCloseable,Runnable,BatchSource<Person>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.pulsar.io.core.BatchPushSource
consume, getQueueLength, notifyError, readNext
-
Constructor Details
-
BatchDataGeneratorPushSource
public BatchDataGeneratorPushSource()
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
open
- Specified by:
openin interfaceBatchSource<Person>- Throws:
Exception
-
discover
- Specified by:
discoverin interfaceBatchSource<Person>- Throws:
Exception
-
prepare
- Specified by:
preparein interfaceBatchSource<Person>- Throws:
Exception
-
run
public void run()
-