Apache Pulsar · Schema

Apache Pulsar Message

Schema for an Apache Pulsar message including metadata and payload.

Cloud-NativeMessagingMulti-TenantPub-SubStreamingApacheOpen-Source

Properties

Name Type Description
messageId string Unique message ID in format ledgerId:entryId:partitionIndex
payload object The message payload, encoded according to the topic schema
key string Message key used for topic compaction and Key_Shared subscriptions
orderingKey string Ordering key for Key_Shared subscription ordering
properties object User-defined key-value properties attached to the message
publishTime string Timestamp when the message was published
eventTime string Application-defined event time
sequenceId integer Sequence ID for deduplication
producerName string Name of the producer that published the message
redeliveryCount integer Number of times the message has been redelivered
schemaVersion string Schema version used to encode the message
topic string Full topic name (persistent://tenant/namespace/topic)
View JSON Schema on GitHub

JSON Schema

pulsar-message.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/apache-pulsar/pulsar-message.json",
  "title": "Apache Pulsar Message",
  "description": "Schema for an Apache Pulsar message including metadata and payload.",
  "type": "object",
  "properties": {
    "messageId": {
      "type": "string",
      "description": "Unique message ID in format ledgerId:entryId:partitionIndex"
    },
    "payload": {
      "description": "The message payload, encoded according to the topic schema"
    },
    "key": {
      "type": "string",
      "description": "Message key used for topic compaction and Key_Shared subscriptions"
    },
    "orderingKey": {
      "type": "string",
      "description": "Ordering key for Key_Shared subscription ordering"
    },
    "properties": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "User-defined key-value properties attached to the message"
    },
    "publishTime": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the message was published"
    },
    "eventTime": {
      "type": "string",
      "format": "date-time",
      "description": "Application-defined event time"
    },
    "sequenceId": {
      "type": "integer",
      "description": "Sequence ID for deduplication"
    },
    "producerName": {
      "type": "string",
      "description": "Name of the producer that published the message"
    },
    "redeliveryCount": {
      "type": "integer",
      "description": "Number of times the message has been redelivered"
    },
    "schemaVersion": {
      "type": "string",
      "description": "Schema version used to encode the message"
    },
    "topic": {
      "type": "string",
      "description": "Full topic name (persistent://tenant/namespace/topic)"
    }
  },
  "required": ["payload"]
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/pulsar-message"
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.