--- url: "https://asyncapi.com/docs/reference/bindings/pulsar" titulek: "pulsar | AsyncAPI Initiative for event-driven APIs" h1: "pulsar" popis: "Pulsar Bindings This document defines how to describe Apache Pulsar specific information with AsyncAPI. Version Current version is 0.1.0. Server Binding Object This object contains informatio" jazyk: "en" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 02:46:53" znaku: 2964 slov: 371 kodovani: "utf-8" sha256: "3ed991cf3b93cef21a49eb8766e072bf87c16faf5589657524bf13de06da75fa" --- ##### On this page Pulsar Bindings Version Server Binding Object Channel Binding Object Retention Definition Object Operation binding fields Message binding fields # pulsar Found an error? Have a suggestion?[Edit this page on GitHub](https://github.com/asyncapi/bindings/tree/master/pulsar.md) # Pulsar Bindings This document defines how to describe Apache Pulsar specific information with AsyncAPI. ## Version Current version is `0.1.0`. ## Server Binding Object This object contains information about the server representation in Pulsar. ##### Fixed Fields | Field Name | Type | Required | Description | Default value | | --- | --- | --- | --- | --- | | `tenant` | String | No | The pulsar tenant. If omitted, "public" MUST be assumed. | `public` | | `bindingVersion` | String | No | The version of this binding. If omitted, "latest" MUST be assumed. | `latest` | ##### Example ``` servers: production: bindings: pulsar: tenant: contoso bindingVersion: '0.1.0' ``` ## Channel Binding Object This object contains information about the channel representation in Pulsar ##### Fixed Fields | Field Name | Type | Required | Description | Default value | | --- | --- | --- | --- | --- | | `namespace` | String | Yes | The namespace the channel is associated with. | N/A | | `persistence` | String | Yes | Persistence of the topic in Pulsar. It MUST be either `persistent` or `non-persistent`. | N/A | | `compaction` | Integer | No | Topic compaction threshold given in Megabytes. | N/A | | `geo-replication` | String[] | No | A list of clusters the topic is replicated to. | N/A | | `retention` | Retention Definition Object | No | Topic retention policy. | N/A | | `ttl` | Integer | No | Message time-to-live in seconds. | N/A | | `deduplication` | Boolean | No | Message deduplication. When true, it ensures that each message produced on Pulsar topics is persisted to disk only once. | N/A | | `bindingVersion` | String | No | The version of this binding. If omitted, "latest" MUST be assumed. | `latest` | ### Retention Definition Object The `Retention Definition Object` is used to describe the Pulsar [Retention](https://pulsar.apache.org/docs/cookbooks-retention-expiry/) policy. | Field Name | Type | Required | Description | Default value | | --- | --- | --- | --- | --- | | `time` | Integer | No | Time given in Minutes. | `0` | | `size` | Integer | No | Size given in MegaBytes. | `0` | ##### Example ``` channels: user-signedup: bindings: pulsar: namespace: 'staging' persistence: 'persistent' compaction: 1000 geo-replication: - 'us-east1' - 'us-west1' retention: time: 7 size: 1000 ttl: 360 deduplication: false bindingVersion: '0.1.0' ``` ## Operation binding fields This object MUST NOT contain any properties. Its name is reserved for future use. ## Message binding fields This object MUST NOT contain any properties. Its name is reserved for future use. [Go Backnats](/docs/reference/bindings/nats) [Up Nextredis](/docs/reference/bindings/redis) Was this helpful? Help us improve the docs by sharing your feedback. [Submit Feedback](https://github.com/asyncapi/website/issues/new?template=docs-feedback.yml&title=Docs%20Feedback%3A%20%2Fdocs%2Freference%2Fbindings%2Fpulsar&labels=%F0%9F%93%91%20docs) OR [Create Issue on GitHub](https://github.com/asyncapi/website/issues/new/choose)