Package | Description |
---|---|
io.vertx.rxjava.kafka.client.consumer |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<KafkaConsumerRecords> |
KafkaConsumerRecords.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
static <K,V> KafkaConsumerRecords<K,V> |
KafkaConsumerRecords.newInstance(KafkaConsumerRecords arg) |
static <K,V> KafkaConsumerRecords<K,V> |
KafkaConsumerRecords.newInstance(KafkaConsumerRecords arg,
io.vertx.lang.rx.TypeArg<K> __typeArg_K,
io.vertx.lang.rx.TypeArg<V> __typeArg_V) |
Modifier and Type | Method and Description |
---|---|
Single<KafkaConsumerRecords<K,V>> |
KafkaConsumer.rxPoll(java.time.Duration timeout)
Executes a poll for getting messages from Kafka.
|
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(java.time.Duration timeout,
Handler<AsyncResult<KafkaConsumerRecords<K,V>>> handler)
Executes a poll for getting messages from Kafka.
|
Copyright © 2024 Eclipse. All rights reserved.