Kayrock.RecordBatch.Record (kayrock v1.0.1)

Copy Markdown View Source

Represents a single record (message)

This is the newer format in Kafka 0.11+

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

Summary

Types

t()

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