Kafka record

One entry in a Kafka topic, made of an optional key, a value, optional headers and a timestamp.

In more detail

Kafka treats keys and values as plain bytes, so the producer and consumer must agree how to encode them. Once written, a record is immutable and lives at a fixed partition and offset until retention or compaction removes it. The words record, message and event are often used for the same thing.

Related terms

Taught in

References

Certification courses