K
- key typeV
- value typepublic final class ConsumeDataIterator<K,V> extends com.google.common.collect.AbstractIterator<KeyMessage<K,V>> implements CloseableIterator<KeyMessage<K,V>>
Constructor and Description |
---|
ConsumeDataIterator(org.apache.kafka.clients.consumer.KafkaConsumer<K,V> consumer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected KeyMessage<K,V> |
computeNext() |
endOfData, hasNext, next, peek
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, hasNext, next, remove
protected KeyMessage<K,V> computeNext()
computeNext
in class com.google.common.collect.AbstractIterator<KeyMessage<K,V>>
public void close()
close
in interface CloseableIterator<KeyMessage<K,V>>
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2014–2018. All rights reserved.