Kafka Consumer Functions

Consumers are client applications that read events from Kafka. Kafka protocol includes the following consumer functions:

LrKafkaConsumer.assignCalls the assign method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.assignmentCalls the assignment method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.beginningOffsetsCalls the beginningOffsets method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.closeConsumerCalls the close method on KafkaConsumer initialized for the Vuser and uninitializes it.
LrKafkaConsumer.commitAsync

Calls the commitAsync method on the KafkaConsumer initialized for the Vuser.

LrKafkaConsumer.commitSync

Calls the commitSync method on the KafkaConsumer initialized for the Vuser.

LrKafkaConsumer.committedCalls the committed method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.endOffsetsCalls the endOffsets method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.enforceRebalanceCalls the enforceRebalance method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.groupMetadataCalls the groupMetadata method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.<K, V>initConsumerInitializes a KafkaConsumer instance for the current Vuser.
LrKafkaConsumer.listTopicsCalls the listTopics method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.metricsCalls the metrics method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.offsetsForTimesCalls the offsetsForTimes method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.partitionsForCalls the partitionsFor method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.pauseCalls the pause method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.pausedCalls the paused method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.pollCalls the poll method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.pollForPolls topics for a set number of seconds and returns resulting ConsumerRecords.
LrKafkaConsumer.pollMinNoOfRecordsPolls until a minimum number of messages is received from the server, or maxNotFoundMessages polls return nothing.
LrKafkaConsumer.positionCalls the position method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.reconfigureConsumerReconfigures the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.resumeCalls the resume method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.seekCalls the seek method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.seekToBeginningCalls the seekToBeginning method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.seekToEndCalls the seekToEnd method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.subscribeCalls the subscribe method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.subscriptionCalls the subscription method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.unsubscribeCalls the unsubscribe method on the KafkaConsumer initialized for the Vuser.
LrKafkaConsumer.wakeupCalls the wakeup method on the KafkaConsumer initialized for the Vuser.