Class LoadSimulationClient

java.lang.Object
org.apache.pulsar.testclient.CmdBase
org.apache.pulsar.testclient.LoadSimulationClient
All Implemented Interfaces:
Callable<Integer>

public class LoadSimulationClient extends CmdBase
LoadSimulationClient is used to simulate client load by maintaining producers and consumers for topics. Instances of this class are controlled across a network via LoadSimulationController.
  • Field Details

  • Constructor Details

  • Method Details

    • run

      public void run() throws Exception
      Start a client with command line this.
      Specified by:
      run in class CmdBase
      Throws:
      Exception
    • start

      public void start() throws Exception
      Start listening for controller commands to create producers and consumers.
      Throws:
      Exception