Class PerformanceTopicListArguments

All Implemented Interfaces:
Callable<Integer>
Direct Known Subclasses:
PerformanceConsumer, PerformanceProducer, PerformanceReader

public abstract class PerformanceTopicListArguments extends PerformanceBaseArguments
PerformanceTopicListArguments provides common topic list arguments which are used by the consumer, producer, and reader commands, but not by the transaction test command.
  • Field Details

    • topics

      public List<String> topics
    • numTopics

      public int numTopics
  • Constructor Details

    • PerformanceTopicListArguments

      public PerformanceTopicListArguments(String cmdName)
  • Method Details

    • validate

      public void validate() throws Exception
      Description copied from class: CmdBase
      Validate the CLI arguments. Default implementation provides validation for the common arguments. Each subclass should call super.validate() and provide validation code specific to the sub-command.
      Overrides:
      validate in class PerformanceBaseArguments
      Throws:
      Exception