Package org.apache.pulsar.testclient
Class PerformanceConsumer
java.lang.Object
org.apache.pulsar.testclient.CmdBase
org.apache.pulsar.testclient.PerformanceBaseArguments
org.apache.pulsar.testclient.PerformanceTopicListArguments
org.apache.pulsar.testclient.PerformanceConsumer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pulsar.testclient.CmdBase
CmdBase.ParameterException -
Field Summary
FieldsModifier and TypeFieldDescriptionintbooleanbooleanbooleanbooleanintintlongintintdoubleintbooleanlonglonglongFields 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
-
numConsumers
public int numConsumers -
numSubscriptions
public int numSubscriptions -
subscriberName
-
subscriptions
-
subscriptionType
-
rate
public double rate -
receiverQueueSize
public int receiverQueueSize -
maxTotalReceiverQueueSizeAcrossPartitions
public int maxTotalReceiverQueueSizeAcrossPartitions -
autoScaledReceiverQueueSize
public boolean autoScaledReceiverQueueSize -
replicatedSubscription
public boolean replicatedSubscription -
acknowledgmentsGroupingDelayMillis
public int acknowledgmentsGroupingDelayMillis -
numMessages
public long numMessages -
encKeyFile
-
testTime
public long testTime -
batchIndexAck
public boolean batchIndexAck -
transactionTimeout
public long transactionTimeout -
numMessagesPerTransaction
public int numMessagesPerTransaction -
isEnableTransaction
public boolean isEnableTransaction -
totalNumTxn
public long totalNumTxn -
isAbortTransaction
public boolean isAbortTransaction -
histogramFile
-
-
Constructor Details
-
PerformanceConsumer
public PerformanceConsumer()
-
-
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
-