new KafkaConsumerRecords()
Vert.x Kafka consumer records
Methods
isEmpty() → {boolean}
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 |
Returns:
- Type
- KafkaConsumerRecord
size() → {number}
Returns:
the total number of records in this batch
- Type
- number