| Package | Description |
|---|---|
| io.vertx.kafka.client.consumer |
| Modifier and Type | Method and Description |
|---|---|
KafkaConsumer<K,V> |
KafkaConsumer.batchHandler(Handler<KafkaConsumerRecords<K,V>> handler)
Set the handler to be used when batches of messages are fetched
from the Kafka server.
|
void |
KafkaConsumer.poll(Duration timeout,
Handler<AsyncResult<KafkaConsumerRecords<K,V>>> handler)
Executes a poll for getting messages from Kafka.
|
void |
KafkaConsumer.poll(long timeout,
Handler<AsyncResult<KafkaConsumerRecords<K,V>>> handler)
Deprecated.
|
Copyright © 2020 Eclipse. All rights reserved.