Class: KafkaConsumerRecords

vertx-kafka-client-js/kafka_consumer_records~ KafkaConsumerRecords

new KafkaConsumerRecords()

Vert.x Kafka consumer records
Source:

Methods

isEmpty() → {boolean}

Source:
Returns:
whether this batch contains any records
Type
boolean

recordAt(index) → {KafkaConsumerRecord}

Get the record at the given index
Parameters:
Name Type Description
index number the index of the record to get
Source:
Returns:
Type
KafkaConsumerRecord

size() → {number}

Source:
Returns:
the total number of records in this batch
Type
number