~/talk

Testing Your Message-Driven Application

Talkat Spring I/O 2018 · 2018-05-24..05-25· [microservices, testing]
speakerdeck:pillopl
slides:none on file

Implements a domain event publisher for card-granted and card-rejected flows using Spring Cloud Stream with a RabbitMQ binder, exercises unit tests with mocks, integration tests, and a test that uses MessageCollector to exercise the real serialization path, finds a Jackson payload bug, and uses Spring Cloud Contract for messaging contracts. Builds an outbox-style solution (DB-stored events + scheduled publisher) to achieve atomicity and discusses at-least-once vs at-most-once delivery; the examples run locally and reproduce the problems and fixes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15Who am I
  3. 2:32Meet the Developer
  4. 3:45Test Code
  5. 9:07Why MessageDriven
  6. 10:25Architecture
  7. 10:52Implementation
  8. 11:35Event Publisher
  9. 18:23Source
  10. 23:20Unit Test
  11. 24:55Message Collector
  12. 31:08Client ID
  13. 37:44EndtoEnd Test
  14. 38:34Review Process
  15. 47:49Questions
~/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.