Class KafkaConsumerRecord<K,V>
java.lang.Object
io.vertx.rxjava3.kafka.client.consumer.KafkaConsumerRecord<K,V>
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.vertx.lang.rx.TypeArg<KafkaConsumerRecord> final io.vertx.lang.rx.TypeArg<K> final io.vertx.lang.rx.TypeArg<V> -
Constructor Summary
ConstructorsConstructorDescriptionKafkaConsumerRecord(KafkaConsumerRecord delegate) KafkaConsumerRecord(Object delegate, io.vertx.lang.rx.TypeArg<K> typeArg_0, io.vertx.lang.rx.TypeArg<V> typeArg_1) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()headers()key()static <K,V> KafkaConsumerRecord <K, V> static <K,V> KafkaConsumerRecord <K, V> newInstance(KafkaConsumerRecord arg, io.vertx.lang.rx.TypeArg<K> __typeArg_K, io.vertx.lang.rx.TypeArg<V> __typeArg_V) longoffset()intlongorg.apache.kafka.common.record.TimestampTypetopic()toString()value()
-
Field Details
-
__TYPE_ARG
-
__typeArg_0
-
__typeArg_1
-
-
Constructor Details
-
KafkaConsumerRecord
-
KafkaConsumerRecord
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
topic
- Returns:
- the topic this record is received from
-
partition
public int partition()- Returns:
- the partition from which this record is received
-
offset
public long offset()- Returns:
- the position of this record in the corresponding Kafka partition.
-
timestamp
public long timestamp()- Returns:
- the timestamp of this record
-
timestampType
public org.apache.kafka.common.record.TimestampType timestampType()- Returns:
- the timestamp type of this record
-
key
- Returns:
- the key (or null if no key is specified)
-
value
- Returns:
- the value
-
headers
- Returns:
- the list of consumer record headers
-
newInstance
-
newInstance
public static <K,V> KafkaConsumerRecord<K,V> newInstance(KafkaConsumerRecord arg, io.vertx.lang.rx.TypeArg<K> __typeArg_K, io.vertx.lang.rx.TypeArg<V> __typeArg_V)
-