Apache Pulsar · JSON Structure

Apache Pulsar Pulsar Message Structure

Schema for an Apache Pulsar message including metadata and payload.

Type: object Properties: 12
Cloud-NativeMessagingMulti-TenantPub-SubStreamingApacheOpen-Source

PulsarMessage is a JSON Structure definition published by Apache Pulsar, describing 12 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

messageId payload key orderingKey properties publishTime eventTime sequenceId producerName redeliveryCount schemaVersion topic

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-pulsar/refs/heads/main/json-structure/apache-pulsar-pulsar-message-structure.json",
  "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": "datetime",
      "description": "Timestamp when the message was published"
    },
    "eventTime": {
      "type": "datetime",
      "description": "Application-defined event time"
    },
    "sequenceId": {
      "type": "int32",
      "description": "Sequence ID for deduplication"
    },
    "producerName": {
      "type": "string",
      "description": "Name of the producer that published the message"
    },
    "redeliveryCount": {
      "type": "int32",
      "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)"
    }
  },
  "name": "PulsarMessage"
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/apache-pulsar-pulsar-message-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.