Skip to main content

AW Seminar

Event Sourcing with (Pure) Functions

For quite a while, I've been thinking about how a typical event-sourced application could be made simpler, even in mainstream OO languages such as Java or Kotlin, if the domain model was implemented with just functions. Not only would the domain model be easier to reason about, but also composable and easy to test without special frameworks. This talk will show an example of an event-sourced domain model written in a mainstream language (Kotlin) without any infrastructure dependencies whatsoever. We'll then continue by looking at Occurrent, an open-source event sourcing library for the JVM, to store the events returned from your domain model. We'll also talk about CloudEvents and why you might consider using them for event sourcing purposes.

This event will also be live streamed on 


Johan Haleby - Johan is a developer, speaker, and blogger with a profound interest in software engineering, distributed systems and architecture. Johan strives to write simple and reliable systems that survives production hazards. He has founded and contributed to numerous open source projects such as PowerMock, REST Assured and Awaitility and has spoken at several international conferences and user groups.


17:30 – 17:45 – Meet & Greet
17:45 – 18:30 – Presentation part 1
18:30 – 19:00 – Meet & eat
19:00 – 19:30 – Presentation part 2
19:30 – 20:00 – Q&A

sponsored by:


Platinum partners

Premium partners