Package io.vertx.kafka.client.consumer
Interface KafkaConsumerRecords<K,V>
public interface KafkaConsumerRecords<K,V>
Vert.x Kafka consumer records
-
Method Summary
-
Method Details
-
size
int size()- Returns:
- the total number of records in this batch
-
isEmpty
boolean isEmpty()- Returns:
- whether this batch contains any records
-
recordAt
Get the record at the given index- Parameters:
index- the index of the record to get- Throws:
IndexOutOfBoundsException- if index invalid input: '<'0 or index>=size()
-
records
- Returns:
- the native Kafka consumer records with backed information
-