Apache Kafka · Schema
Kafka Record
Schema for an Apache Kafka record (message) including key, value, headers, and metadata.
Distributed SystemsEvent StreamingMessagingOpen-SourcePub-Sub
Properties
| Name | Type | Description |
|---|---|---|
| topic | string | The topic the record belongs to |
| partition | integer | The partition within the topic |
| offset | integer | The offset of the record within the partition |
| timestamp | integer | The timestamp of the record in milliseconds since epoch |
| timestampType | string | The type of timestamp |
| key | object | The record key, used for partitioning. Can be any type. |
| value | object | The record value (message payload). Can be any type. |
| headers | object | Key-value pairs of record headers |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.com/schemas/apache-kafka/kafka-record.json",
"title": "Kafka Record",
"description": "Schema for an Apache Kafka record (message) including key, value, headers, and metadata.",
"type": "object",
"properties": {
"topic": {
"type": "string",
"description": "The topic the record belongs to"
},
"partition": {
"type": "integer",
"description": "The partition within the topic"
},
"offset": {
"type": "integer",
"description": "The offset of the record within the partition"
},
"timestamp": {
"type": "integer",
"description": "The timestamp of the record in milliseconds since epoch"
},
"timestampType": {
"type": "string",
"enum": ["CREATE_TIME", "LOG_APPEND_TIME", "NO_TIMESTAMP_TYPE"],
"description": "The type of timestamp"
},
"key": {
"description": "The record key, used for partitioning. Can be any type."
},
"value": {
"description": "The record value (message payload). Can be any type."
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Key-value pairs of record headers"
}
},
"required": ["topic"]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/kafka-record"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.