Class StateMachineExample

java.lang.Object
org.apache.flink.streaming.examples.statemachine.StateMachineExample

public class StateMachineExample extends Object
Main class of the state machine example. This class implements the streaming application that receives the stream of events and evaluates a state machine (per originating address) to validate that the events follow the state machine's rules.
  • Constructor Details

    • StateMachineExample

      public StateMachineExample()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Main entry point for the program.
      Parameters:
      args - The command line arguments.
      Throws:
      Exception