Running the Subscriber Example

Use the RTView Display Viewer to run the provided subscriber example that comes with the RTView adapter.

  1. Start the Event Stream Processor with the provided rtviewadapter.ccx model located in %RTVIEWADAPTER_HOME%\examples, and use port 19011.
    Operating System Step
    Windows
    1. Enter cd %RTVIEWADAPTER_HOME%\examples
    2. Start the example cluster: start_server_cluster.bat
    3. Add project to the cluster, and start it on the cluster: start_project.bat
    UNIX
    1. Enter cd $RTVIEWADAPTER_HOME/examples
    2. Start the example cluster: start_server_cluster.sh
    3. Start the project on the cluster: start_project.sh
  2. Start the RTView Display Viewer from the command line:
    Operating System Step
    Windows %RTVIEWADAPTER_HOME%\bin\start_viewer.bat %RTVIEWADAPTER_HOME%\examples subscriber.rtv
    UNIX $RTVIEWADAPTER_HOME/bin/start_viewer.sh $RTVIEWADAPTER_HOME/examples subscriber.rtv
    Note: You can start the RTView Display Builder by replacing the start_viewer command with the start_builder command.
  3. Use the esp_convert and esp_upload utilities to load input.xml data, convert XML data to stream data, and feed this data into target streams.
    Operating System Step
    Windows cd %RTVIEWADAPTER_HOME%\examples

    run_loaddata.bat

    UNIX cd $RTVIEWADAPTER_HOME/examples

    run_loaddata.sh

  4. (Optional) Verify that data is successfully loaded into streams.
    Operating System Step
    Windows cd %RTVIEWADAPTER_HOME%\examples

    run_sub.bat

    UNIX cd $RTVIEWADAPTER_HOME/examples

    run_sub.sh

  5. Observe the stream data that displays in tables.