Package org.apache.pulsar.testclient
Class PerformanceReader
java.lang.Object
org.apache.pulsar.testclient.CmdBase
org.apache.pulsar.testclient.PerformanceBaseArguments
org.apache.pulsar.testclient.PerformanceTopicListArguments
org.apache.pulsar.testclient.PerformanceReader
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pulsar.testclient.CmdBase
CmdBase.ParameterException -
Field Summary
FieldsModifier and TypeFieldDescriptionlongdoubleintlongbooleanFields inherited from class org.apache.pulsar.testclient.PerformanceTopicListArguments
numTopics, topicsFields inherited from class org.apache.pulsar.testclient.PerformanceBaseArguments
authParams, authPluginClassName, deprecatedAuthPluginClassName, enableBusyWait, ioThreads, listenerName, listenerThreads, maxConnections, maxLookupRequest, memoryLimit, serviceURL, statsIntervalSeconds, tlsAllowInsecureConnection, tlsHostnameVerificationEnable, tlsTrustCertsFilePath -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.pulsar.testclient.PerformanceBaseArguments
parseCLIMethods inherited from class org.apache.pulsar.testclient.CmdBase
addCommand, addCommand, call, getCommander, parse, run
-
Field Details
-
rate
public double rate -
startMessageId
-
receiverQueueSize
public int receiverQueueSize -
numMessages
public long numMessages -
useTls
public boolean useTls -
testTime
public long testTime
-
-
Constructor Details
-
PerformanceReader
public PerformanceReader()
-
-
Method Details
-
validate
Description copied from class:CmdBaseValidate 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:
validatein classPerformanceTopicListArguments- Throws:
Exception
-
run
-