~/talk

Kafka and JMS Mocking with AsyncAPI using Specmatic

Talkat AACoT 2023 Bangalore · on Thursday, 2023-11-30· [microservices, testing]
slides:none on file

Specmatic uses AsyncAPI and OpenAPI files to spin up in‑memory Kafka and JMS mocks, auto-generate tests, set expectations and verify message counts, topics and schemas. A live demo shows a test that expects three messages on topic product queries and fails when none arrive, flags a mispublished message on the wrong topic, and rejects an unexpected field with the error payload.price was unexpected. The setup runs locally or in CI and produces API coverage and contract verification.

AI-written summary · about

  1. 0:00Introduction
  2. 1:46Reference architecture
  3. 3:33Mocking with API specs
  4. 5:18Live demo setup
  5. 7:21Testing Kafka interactions
  6. 10:33Verifying message expectations
  7. 14:37Kafka mock validations
  8. 17:53Testing with AsyncAPI
  9. 21:08Mocking insufficient for contracts
  10. 22:54Treat specs as code with Git
  11. 25:00Pulling specs from repo
  12. 26:24Architecture insights
  13. 28:09Beyond Kafka mocking
  14. 29:13Q&A
~/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.