---
schema_version: "1"
id: 887b88d0450c8b3c3eede5c8069767a768f655bfc3019326d80df72129ef87c6
title: Pub/Sub API Features
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/event-bus/pub-sub-api/guides/pub-sub-features.md
canonical_url: https://developer.salesforce.com/docs/platform/pub-sub-api/guide/pub-sub-features.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3dffcea5e827072412370fc27608491ec38bf75869d359d7abc67203fb4c41a4
products:
  - Pub/Sub API
  - Event Bus Docs
---
# Pub/Sub API Features

Learn about some of the features of Pub/Sub API.

| Feature                   | Pub/Sub API                                                                                                      |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| Event Encoding            | Binary ([Apache Avro](https://avro.apache.org/))                                                                 |
| Protocol                  | [gRPC](https://grpc.io/docs/what-is-grpc/) and protocol buffers                                                  |
| Subscription model        | Pull-based—the client requests the number of events to receive as they become available in the event bus.        |
| Subscription flow control | Client specifies how many events to receive for a Subscribe call based on event processing speed in the client.  |
| Publish status            | Final publishing result returned indicates that the event was successfully published or that the publish failed. |

**See Also**

- [Pull Subscription and Flow Control](https://developer.salesforce.com/docs/platform/pub-sub-api/guide/flow-control.md)
