Chronicle Kotlin Client
The Chronicle Kotlin client is the JVM SDK for Chronicle. It wraps the Chronicle gRPC contracts with Kotlin-native constructs such as coroutines, data classes, and annotations.
Use this section for Kotlin and Java setup, runtime integration, annotations, and API reference details. Shared Chronicle concepts and workflows live in the main Chronicle docs and use language tabs when code differs by client.
Shared Chronicle topics
Section titled “Shared Chronicle topics”- Get started
- Events and event logs
- Appending events
- Read models
- Projections
- Reactors
- Reducers
- Constraints
- Event seeding
- Compliance
- Transactions and unit of work
- Event evolution
Kotlin and Java setup
Section titled “Kotlin and Java setup”You need a running Chronicle Kernel. The simplest way is Docker Compose:
services: chronicle: image: cratis/chronicle:latest ports: - "35000:35000" - "35001:35001"Then add the client to your Gradle build:
dependencies { implementation("io.cratis:chronicle:0.1.0")}The same JVM client supports both Kotlin and Java. Shared pages include separate Kotlin and Java tabs when both examples exist.
Client-specific pages
Section titled “Client-specific pages”- Get Started — install the JVM client, connect, and run a small Kotlin flow
- Reference — annotations, configuration, and service API details