Headers headers()
RecordContext — Record Metadata
RecordContext is the abstraction of record contexts that Kafka Streams developers use for dynamic routing of output records (using TopicNameExtractor) based on the metadata of a record, i.e. headers, offset, partition, timestamp, and topic.
|
Note
|
ProcessorRecordContext is the default implementation of the RecordContext Contract in Kafka Streams. |
| Method | Description |
|---|---|
|
The headers of the record |
|
The position of the record in the corresponding Kafka partition |
|
The partition the record has been received from |
|
The timestamp of the record |
|
The topic the record has been received from |