View Source Kayrock.RecordBatch.Record (kayrock v0.2.0)

Represents a single record (message)

This is the newer format in Kafka 0.11+

See https://kafka.apache.org/documentation/#recordbatch

Summary

Types

@type t() :: %Kayrock.RecordBatch.Record{
  attributes: term(),
  headers: term(),
  key: term(),
  offset: term(),
  timestamp: term(),
  value: term()
}