public class KafkaExample extends java.lang.Object implements Twister2Worker
Modifier and Type | Class and Description |
---|---|
static class |
KafkaExample.KSink |
static class |
KafkaExample.KSource |
Constructor and Description |
---|
KafkaExample() |
Modifier and Type | Method and Description |
---|---|
void |
execute(WorkerEnvironment workerEnv)
This is the main point of entry for Twister2 jobs.
|
static void |
main(java.lang.String[] args) |
public static void main(java.lang.String[] args) throws ParseException
ParseException
public void execute(WorkerEnvironment workerEnv)
Twister2Worker
execute
in interface Twister2Worker