~/talk

Symfony Messenger

Talkat Web Summer Camp 2019 · 2019-08-28..08-30· [php, microservices]
slides:none on file

Fast, practical demo of Symfony Messenger: message buses, middleware and envelope stamps used to route messages to transports (Doctrine or RabbitMQ) and run workers with bin/console messenger:consume. Shows a small betting app, adds a delete message and an audit middleware, demonstrates immutable Envelope (must reassign after with()), and carries a message identifier stamp so logs match across web and worker. Covers delay stamps, default retry strategy (3 tries with exponential backoff), failed-transport to store and manually retry failed messages, and a custom HTTP transport example that works end-to-end.

AI-written summary · about

  1. 0:00Introduction to Symfony Messenger
  2. 1:10Core concepts of Messenger
  3. 13:11Setting up the demo app
  4. 26:39Creating first message and handler
  5. 37:06Understanding middleware
  6. 45:23Building an audit middleware
  7. 53:29Synchronous vs asynchronous processing
  8. 1:01:14Configuring RabbitMQ transport
  9. 1:14:04Tracking message lifecycle with stamps
  10. 1:25:53Creating custom stamps
  11. 1:36:32Delaying message execution
  12. 1:38:21Handling failures and retries
  13. 1:45:36Configuring retry strategies
  14. 1:53:43Failed transport and recovery
  15. 2:01:05Creating custom transports
~/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.