public interface KafkaConsumerRecords<K,V>
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty() |
KafkaConsumerRecord<K,V> |
recordAt(int index)
Get the record at the given index
|
org.apache.kafka.clients.consumer.ConsumerRecords<K,V> |
records() |
int |
size() |
int size()
boolean isEmpty()
KafkaConsumerRecord<K,V> recordAt(int index)
index
- the index of the record to getIndexOutOfBoundsException
- if index <0 or index>=size()
Copyright © 2024 Eclipse. All rights reserved.