# Class: KafkaConsumerRecord

## vertx-kafka-client-js/kafka_consumer_record~ KafkaConsumerRecord

#### new KafkaConsumerRecord()

Vert.x Kafka consumer record

Source:
  - vertx-kafka-client-js/kafka_consumer_record.js, line 29

### Methods

#### checksum() → {number}

Source:
  - vertx-kafka-client-js/kafka_consumer_record.js, line 107

##### Returns:

the checksum (CRC32) of the record.

Type
  number

#### key() → {Object}

Source:
  - vertx-kafka-client-js/kafka_consumer_record.js, line 120

##### Returns:

the key (or null if no key is specified)

Type
  Object

#### offset() → {number}

Source:
  - vertx-kafka-client-js/kafka_consumer_record.js, line 68

##### Returns:

the position of this record in the corresponding Kafka partition.

Type
  number

#### partition() → {number}

Source:
  - vertx-kafka-client-js/kafka_consumer_record.js, line 55

##### Returns:

the partition from which this record is received

Type
  number

#### timestamp() → {number}

Source:
  - vertx-kafka-client-js/kafka_consumer_record.js, line 81

##### Returns:

the timestamp of this record

Type
  number

#### timestampType() → {Object}

Source:
  - vertx-kafka-client-js/kafka_consumer_record.js, line 94

##### Returns:

the timestamp type of this record

Type
  Object

#### topic() → {string}

Source:
  - vertx-kafka-client-js/kafka_consumer_record.js, line 42

##### Returns:

the topic this record is received from

Type
  string

#### value() → {Object}

Source:
  - vertx-kafka-client-js/kafka_consumer_record.js, line 133

##### Returns:

the value

Type
  Object