use of org.apache.samza.runtime.LocalApplicationRunner in project samza by apache.
the class WindowExample method main.
// local execution mode
public static void main(String[] args) throws Exception {
CommandLine cmdLine = new CommandLine();
Config config = cmdLine.loadConfig(cmdLine.parser().parse(args));
LocalApplicationRunner localRunner = new LocalApplicationRunner(config);
localRunner.run(new WindowExample());
}
use of org.apache.samza.runtime.LocalApplicationRunner in project samza by apache.
the class OrderShipmentJoinExample method main.
// local execution mode
public static void main(String[] args) throws Exception {
CommandLine cmdLine = new CommandLine();
Config config = cmdLine.loadConfig(cmdLine.parser().parse(args));
LocalApplicationRunner localRunner = new LocalApplicationRunner(config);
localRunner.run(new OrderShipmentJoinExample());
}
use of org.apache.samza.runtime.LocalApplicationRunner in project samza by apache.
the class MergeExample method main.
// local execution mode
public static void main(String[] args) throws Exception {
CommandLine cmdLine = new CommandLine();
Config config = cmdLine.loadConfig(cmdLine.parser().parse(args));
LocalApplicationRunner localRunner = new LocalApplicationRunner(config);
localRunner.run(new MergeExample());
}
use of org.apache.samza.runtime.LocalApplicationRunner in project samza by apache.
the class RepartitionExample method main.
// local execution mode
public static void main(String[] args) throws Exception {
CommandLine cmdLine = new CommandLine();
Config config = cmdLine.loadConfig(cmdLine.parser().parse(args));
LocalApplicationRunner localRunner = new LocalApplicationRunner(config);
localRunner.run(new RepartitionExample());
}
use of org.apache.samza.runtime.LocalApplicationRunner in project samza by apache.
the class BroadcastExample method main.
// local execution mode
public static void main(String[] args) throws Exception {
CommandLine cmdLine = new CommandLine();
Config config = cmdLine.loadConfig(cmdLine.parser().parse(args));
LocalApplicationRunner localRunner = new LocalApplicationRunner(config);
localRunner.run(new BroadcastExample());
}
Aggregations