~/talk

Event-Based API Patterns and Practices

Talkat AsyncAPI Online Conference 2020 · on Wednesday, 2020-04-22· [api-design, developer-experience]
slides:none on file

Lists seven concrete design patterns for event APIs: thin event notifications with hypermedia links to fetch current state, event-carried state transfer for full snapshots (common with Apache Kafka and Pulsar), nested structured payloads to avoid name collisions, schema evolution rules to avoid breaking historical events, explicit offline/recovery support (GitHub webhook retry APIs as an example), and strict separation of internal versus external events. Recommends documenting messages with the AsyncAPI spec and choosing webhooks, SSE, WebSockets, gRPC streams or distributed logs based on delivery and consumer needs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:13What are asynchronous APIs
  3. 4:59Webhooks
  4. 7:27Server Sent Events
  5. 10:00Design Patterns
  6. 11:30Thin Event Notification
  7. 12:30HyperMediaDriven Events
  8. 13:40EventCarryState Transfer
  9. 14:46Structured Event payloads
  10. 17:02Evolution II Event Schema
  11. 19:24Offline Error Recovery Support
  12. 21:28Separate Internal and External Events
  13. 23:24People are doing
  14. 24:22The evolving enterprise platform
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.