Package org.apache.pulsar.testclient
Class PerformanceProducer
java.lang.Object
org.apache.pulsar.testclient.CmdBase
org.apache.pulsar.testclient.PerformanceBaseArguments
org.apache.pulsar.testclient.PerformanceTopicListArguments
org.apache.pulsar.testclient.PerformanceProducer
A client program to test pulsar producer performance.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.pulsar.testclient.CmdBase
CmdBase.ParameterException -
Field Summary
FieldsModifier and TypeFieldDescriptionintintdoublelongcom.google.common.collect.Range<Long>booleanbooleanbooleanbooleanbooleanintintintintlongintintintintbooleanlonglongdoubleFields 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, sslfactoryPlugin, sslFactoryPluginParams, statsIntervalSeconds, tlsAllowInsecureConnection, tlsHostnameVerificationEnable, tlsTrustCertsFilePath -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.pulsar.testclient.PerformanceTopicListArguments
validateMethods 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
-
numTestThreads
public int numTestThreads -
msgRate
public int msgRate -
msgSize
public int msgSize -
numProducers
public int numProducers -
separator
-
sendTimeout
public int sendTimeout -
producerName
-
adminURL
-
maxOutstanding
public int maxOutstanding -
maxPendingMessagesAcrossPartitions
public int maxPendingMessagesAcrossPartitions -
partitions
-
numMessages
public long numMessages -
compression
-
payloadFilename
-
payloadDelimiter
-
batchTimeMillis
public double batchTimeMillis -
disableBatching
public boolean disableBatching -
batchMaxMessages
public int batchMaxMessages -
batchMaxBytes
public int batchMaxBytes -
testTime
public long testTime -
warmupTimeSeconds
public double warmupTimeSeconds -
encKeyName
-
encKeyFile
-
delay
public long delay -
delayRange
-
setEventTime
public boolean setEventTime -
exitOnFailure
public boolean exitOnFailure -
messageKeyGenerationMode
-
producerAccessMode
-
formatPayload
public boolean formatPayload -
formatterClass
-
transactionTimeout
public long transactionTimeout -
numMessagesPerTransaction
public int numMessagesPerTransaction -
isEnableTransaction
public boolean isEnableTransaction -
isAbortTransaction
public boolean isAbortTransaction -
histogramFile
-
-
Constructor Details
-
PerformanceProducer
public PerformanceProducer()
-
-
Method Details