Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Java Client
The sample Java client uses Pub/Sub API to publish and subscribe to platform events.
Pub/Sub API provides a single interface to publish and subscribe to event messages. Based on gRPC
and HTTP/2, Pub/Sub API enables efficient delivery of binary event messages in the Apache Avro
format.
Check out Java Quick Start for Publishing and Subscribing to Events in the Pub/Sub API Developer Guide.