Examples
Check out platform event apps—an end-to-end example using flows, a Java client, and a sample app that covers a business scenario.
-
End-to-End Example: Printer Supply Automation
This example demonstrates how to make sure that your office printers always have enough paper and ink by using two platform events and two flows.
-
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 a sample that covers common business scenarios and uses platform events along with other Lightning Platform features.