Class SiddhiDebuggerClient


  • public class SiddhiDebuggerClient
    extends Object
    SiddhiDebuggerClient is a commandline tool to feed siddhi app and input from text files and debug the query at the runtime. It accepts the following commands: - add breakpoint query:TERMINAL - Adding a new breakpoint. Eg:add breakpoint query1:IN - remove breakpoint query:TERMINAL - Adding a new breakpoint. Eg:remove breakpoint query1:IN - start - Start sending input - stop - Stop the debugger - next - Move to the next checkpoint - play - Skip the current checkpoint
    • Constructor Detail

      • SiddhiDebuggerClient

        public SiddhiDebuggerClient()
    • Method Detail

      • main

        public static void main​(String[] args)
        Main method of the SiddhiDebuggerClient.
        Parameters:
        args - two arguments are expected: siddhi app path and input file path
      • start

        public void start​(String siddhiApp,
                          String input)
        Start the SiddhiDebuggerClient and configure the breakpoints.
        Parameters:
        siddhiApp - the Siddhi query
        input - the user input as a whole text