Class: KafkaConsumerRecord

vertx-kafka-client-js/kafka_consumer_record~ KafkaConsumerRecord

new KafkaConsumerRecord()

Vert.x Kafka consumer record
Source:

Methods

checksum() → {number}

Source:
Returns:
the checksum (CRC32) of the record.
Type
number

key() → {Object}

Source:
Returns:
the key (or null if no key is specified)
Type
Object

offset() → {number}

Source:
Returns:
the position of this record in the corresponding Kafka partition.
Type
number

partition() → {number}

Source:
Returns:
the partition from which this record is received
Type
number

timestamp() → {number}

Source:
Returns:
the timestamp of this record
Type
number

timestampType() → {Object}

Source:
Returns:
the timestamp type of this record
Type
Object

topic() → {string}

Source:
Returns:
the topic this record is received from
Type
string

value() → {Object}

Source:
Returns:
the value
Type
Object