Package | Description |
---|---|
io.vertx.rxjava.kafka.client.consumer |
Modifier and Type | Field and Description |
---|---|
static TypeArg<KafkaConsumerRecords> |
KafkaConsumerRecords.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
static <K,V> KafkaConsumerRecords<K,V> |
KafkaConsumerRecords.newInstance(io.vertx.kafka.client.consumer.KafkaConsumerRecords arg) |
static <K,V> KafkaConsumerRecords<K,V> |
KafkaConsumerRecords.newInstance(io.vertx.kafka.client.consumer.KafkaConsumerRecords arg,
TypeArg<K> __typeArg_K,
TypeArg<V> __typeArg_V) |
Modifier and Type | Method and Description |
---|---|
rx.Single<KafkaConsumerRecords<K,V>> |
KafkaConsumer.rxPoll(long timeout)
Executes a poll for getting messages from Kafka
|
Modifier and Type | Method and Description |
---|---|
KafkaConsumer<K,V> |
KafkaConsumer.batchHandler(io.vertx.core.Handler<KafkaConsumerRecords<K,V>> handler)
Set the handler to be used when batches of messages are fetched
from the Kafka server.
|
void |
KafkaConsumer.poll(long timeout,
io.vertx.core.Handler<io.vertx.core.AsyncResult<KafkaConsumerRecords<K,V>>> handler)
Executes a poll for getting messages from Kafka
|
Copyright © 2019 Eclipse. All rights reserved.