Skip to content

Java and Kotlin event sourcing: Axon, KurrentDB, and Cratis Chronicle

For Java or Kotlin, first decide whether you want a framework to organize commands, queries, and handlers, or an event server behind an application model you choose. Axon Framework supplies application infrastructure. KurrentDB and Cratis Chronicle are separate servers used through client SDKs.

The Cratis team wrote this guide; Chronicle is our product. This selection guide replaces the historical capability matrix without treating frameworks and database clients as equivalent bundles.

A handler that updates a view needs someone to invoke it, checkpoint progress, and retry failures. That responsibility can sit in a framework, a subscription consumer, or a server-managed observer. It is separate from where the events are stored.

Axon Framework and Axon Server are distinct products. Likewise, a KurrentDB or Chronicle client has its own release cycle, independent of its server. Compare the framework, server, and SDK versions separately.

Sources reviewed on 2026-11-22:

Release dates do not establish package-publication dates or compatibility between independently released components. See our comparison method.

Axon Framework’s Spring integration discovers handlers and configures command, query, and event infrastructure. KurrentDB’s Java SDK provides database access; choose your application wiring around it. Chronicle’s Spring starter registers processing artifacts with the kernel. Its request integration is for Spring Boot 4 with servlet MVC, not WebFlux.

Choose Axon Framework when you want its command, query, and event-processor model to structure a JVM application. Its storage infrastructure includes Axon Server, PostgreSQL, aggregate-based JPA, and in-memory options. Aggregate-based storage is not interchangeable with a global event stream. Review the selected engine’s contract and Axon Server’s own edition and license terms separately from the framework.

Choose KurrentDB when you want its stream database and persistent subscriptions while retaining your application model. Persistent subscriptions checkpoint on the server and deliver at least once; they do not guarantee ordering. Your consumer must tolerate duplicates. See KurrentDB vs Chronicle for processing and hosting details.

Choose Chronicle when you want the kernel to coordinate event processing and read-model production. The architecture separates kernel projections from reducer and reactor handlers in your application. The JVM starter supplies artifact discovery and activation; it does not remove the kernel deployment or make application side effects atomic with an append.

  • Should a framework own command and query dispatch, or will you choose that layer separately?
  • Which process owns checkpoints and retries?
  • Does the Spring integration match your servlet or reactive application?
  • Which SDK operations and server versions does your feature require?

Evaluate a conflicting append, a failed handler, replay, and a consumer restart on the intended storage engine. Check authentication, tenant isolation, backup, restore, and license terms for the actual deployment. This guide does not compare Axon Server editions.

This is an architectural selection guide, not a benchmark, reliability assessment, or client-parity claim. A framework covering more application concerns is a fit decision, not a higher score.

The versioned framework guides and tagged client sources above support the programming-model distinctions. For server choices, continue to KurrentDB vs Chronicle; for available Cratis client operations, see Chronicle clients.

Check the intended release before adoption. Send corrections with a version and first-party source.