public static void main(String[] args) {
    CommandLine cmdLine = new CommandLine();
    Config config = cmdLine.loadConfig(cmdLine.parser().parse(args));
    ApplicationRunner runner = ApplicationRunners.getApplicationRunner(new BroadcastExample(), config);
    runner.run();
    runner.waitForFinish();
  }
Example implementation of a task that splits its input into multiple output streams.
samza-test/src/main/java/org/apache/samza/example/BroadcastExample.java