~/talk

Production-ready direct-style Scala

Talkat Scalar Conference 2025 · 2025-03-27..03-28· [scala]
slides:none on file

A production-ready direct-style Scala microservice is built and demoed: a backend + React frontend with live-reload, automatic OpenAPI→TypeScript generation, and a new “next trip” feature that calls two external services in parallel, persists an audit row inside an explicit transaction, and streams audits to Kafka every second. Uses Tapir for HTTP, Magnum and Flyway for DB mapping and migrations, ox flows and virtual threads on JVM 21 for concurrency, and OpenTelemetry tracing; the demo runs end-to-end with propagated traces and Kafka messages.

AI-written summary · about

  1. 0:00Direct-style Scala intro
  2. 1:49Focus on direct-style Scala
  3. 3:38Demo app overview and setup
  4. 6:08Adding trip planning
  5. 9:16Database transactions in direct style
  6. 12:29Parallel HTTP requests and errors
  7. 14:14Dependency injection with MacWire
  8. 16:06API layer and OpenAPI
  9. 19:57Java ecosystem with OpenTelemetry
  10. 22:28Streaming with Kafka and Ox
  11. 26:27Frontend with TypeScript
  12. 28:34Key principles of direct-style Scala
  13. 29:37Future plans and OSS
  14. 31:27Summary and closing
~/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.