| Package | Description | 
|---|---|
| io.vertx.kafka.client.consumer | |
| io.vertx.reactivex.kafka.client.consumer | |
| io.vertx.rxjava.kafka.client.consumer | 
| Modifier and Type | Method and Description | 
|---|---|
OffsetAndMetadata | 
OffsetAndMetadata.setMetadata(String metadata)
Set additional metadata for the offset committed 
 | 
OffsetAndMetadata | 
OffsetAndMetadata.setOffset(long offset)
Set the offset to commit 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
KafkaConsumer.commit(Map<TopicPartition,OffsetAndMetadata> offsets)
Commit the specified offsets for the specified list of topics and partitions to Kafka. 
 | 
void | 
KafkaConsumer.commit(Map<TopicPartition,OffsetAndMetadata> offsets,
      Handler<AsyncResult<Map<TopicPartition,OffsetAndMetadata>>> completionHandler)
Commit the specified offsets for the specified list of topics and partitions to Kafka. 
 | 
void | 
KafkaConsumer.commit(Map<TopicPartition,OffsetAndMetadata> offsets,
      Handler<AsyncResult<Map<TopicPartition,OffsetAndMetadata>>> completionHandler)
Commit the specified offsets for the specified list of topics and partitions to Kafka. 
 | 
void | 
KafkaConsumer.committed(TopicPartition topicPartition,
         Handler<AsyncResult<OffsetAndMetadata>> handler)
Get the last committed offset for the given partition (whether the commit happened by this process or another). 
 | 
| Constructor and Description | 
|---|
OffsetAndMetadata(OffsetAndMetadata that)
Constructor (copy) 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Single<OffsetAndMetadata> | 
KafkaConsumer.rxCommitted(TopicPartition topicPartition)
Get the last committed offset for the given partition (whether the commit happened by this process or another). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
KafkaConsumer.committed(TopicPartition topicPartition,
         Handler<AsyncResult<OffsetAndMetadata>> handler)
Get the last committed offset for the given partition (whether the commit happened by this process or another). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Single<OffsetAndMetadata> | 
KafkaConsumer.rxCommitted(TopicPartition topicPartition)
Get the last committed offset for the given partition (whether the commit happened by this process or another). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
KafkaConsumer.committed(TopicPartition topicPartition,
         Handler<AsyncResult<OffsetAndMetadata>> handler)
Get the last committed offset for the given partition (whether the commit happened by this process or another). 
 | 
Copyright © 2020 Eclipse. All rights reserved.