Record - kafka : ConsumerRecord

Type related to consumer record.

Fields

  • key byte
  • Key that is included in the record.

  • value byte
  • Record content.

  • offset int
  • Offset value.

  • partition int
  • Partition in which the record is stored.

  • timestamp int
  • Timestamp of the record, in milliseconds since epoch.

  • topic string
  • Topic to which the record belongs to.