Class DefaultVertxKafkaManualCommit
- java.lang.Object
-
- org.apache.camel.component.vertx.kafka.offset.DefaultVertxKafkaManualCommit
-
- All Implemented Interfaces:
VertxKafkaManualCommit
public class DefaultVertxKafkaManualCommit extends Object implements VertxKafkaManualCommit
-
-
Constructor Summary
Constructors Constructor Description DefaultVertxKafkaManualCommit(io.vertx.kafka.client.consumer.KafkaConsumer<Object,Object> kafkaConsumer, String topicName, io.vertx.kafka.client.common.TopicPartition partition, long recordOffset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommit()Commit offsets to Kafkaio.vertx.kafka.client.consumer.KafkaConsumer<Object,Object>getKafkaConsumer()io.vertx.kafka.client.common.TopicPartitiongetPartition()longgetRecordOffset()StringgetTopicName()
-
-
-
Method Detail
-
commit
public void commit()
Description copied from interface:VertxKafkaManualCommitCommit offsets to Kafka- Specified by:
commitin interfaceVertxKafkaManualCommit
-
getKafkaConsumer
public io.vertx.kafka.client.consumer.KafkaConsumer<Object,Object> getKafkaConsumer()
-
getTopicName
public String getTopicName()
-
getPartition
public io.vertx.kafka.client.common.TopicPartition getPartition()
-
getRecordOffset
public long getRecordOffset()
-
-