~/talk

From Platform Events to the Pub/Sub API

Talkat CRM Stage 2022 · on Friday, 2022-12-09· [nodejs, web-platform]
links:none on file
slides:none on file

Compares the old Platform Events + Streaming API (CometD) stack with the new gRPC Pub/Sub API that runs on a separate Salesforce runtime, uses Avro over HTTP/2, supports bidirectional streams and flow control requesting 10 events, and consolidates publish/subscribe and streaming into one client. Shows a Java PoC that subscribes to Change Data Capture and publishes Platform Events via the Pub/Sub client, pulls batches, parses schemas, hits the Twitter API for hashtag counts, and demonstrates the end-to-end poll working in the live demo.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:02Clarifying the topic scope
  3. 4:38Agenda and session overview
  4. 5:40Salesforce event bus updates
  5. 8:33Introducing Pub/Sub API
  6. 10:18Key gRPC features explained
  7. 12:27Pull subscriptions and flow control
  8. 15:18Comparing old and new implementations
  9. 18:07Code differences overview
  10. 20:18New Pub/Sub API implementation
  11. 26:00Demo setup and pizza poll
  12. 27:04Salesforce configuration demo
  13. 31:15Server code walkthrough
  14. 34:17Demo execution and results
  15. 38:54Resources and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.