Skip to content
CAI
Software that uses CAICheck a score

654894017/cqrs

47.3

Weak · 7 November 2026

6k

lines of production code

Java

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a Java-based Event Sourcing framework that provides the core infrastructure for managing domain state through immutable events. It features an aggregate model with versioning, snapshotting, and in-memory caching, alongside a MySQL-backed event store with sharding support. The framework handles command processing with distributed locking and asynchronous event persistence, enabling the reconstruction of aggregate state from historical events.

Features

Introduce event-sourcing-core library with aggregate caching and command processing

The project has been renamed from CQRS to event-sourcing, introducing the \event-sourcing-core\ module. This module provides the core infrastructure for event sourcing, including an \EventSourcingContext\ for registering command processors, a \CaffeineAggregateCache\ for in-memory aggregate caching with expiration, and a \CommandProcessor\ that handles command execution with distributed locking and asynchronous event committing. It also includes an \EventCommittingService\ for batching and persisting domain events, an \AggregateRecoveryProcessor\ for replaying events to reconstruct aggregate state, and an \AggregateSnapshootProcessor\ for asynchronously persisting aggregate snapshots.

event-sourcing-core, event-sourcing-sample/event-sourcing-sample-generic-test, sql · high confidence

Removals

Removal of initial CQRS framework implementation

The entire \com.nd.cqrs\ package has been removed, deleting the initial version of the CQRS framework. This includes the core domain model (Aggregate, Command, Event, DomainService), infrastructure services for event committing and sending (EventCommittingService, EventSendingService), persistence and caching layers (MysqlEventStore, DefaultAggregateCache), and the RocketMQ integration (DefaultMQProducer, RocketMQSendService). The sample application demonstrating the framework (Goods aggregate, EventSendingScheduler) has also been deleted.

src/main · high confidence

Behavioural changes

Project renamed from CQRS to Event Sourcing with new domain model and MySQL storage

The project has been rebranded from CQRS to Event Sourcing, reflected in the package namespace change from com.nd.cqrs to com.damon.eventsourcing. This change introduces the core Event Sourcing domain model in the event-sourcing-api module, including base classes for AggregateRoot (with versioning and snapshot support), Command, Event, Entity, and ValueObject, along with an ID generation utility. The event-sourcing-mysql module provides a concrete MySQL-based event store implementation featuring sharding support via DefaultEventShardingRouting, asynchronous event persistence through EventStoreSupplier, and conflict handling for version duplicates. Several exception classes have been renamed and enhanced, such as AggregateEventConflictException now carrying aggregate ID and type information, and AggregateCommandConflictException renamed to EventApplyException.

event-sourcing-api, event-sourcing-mysql · high confidence

Dependencies

Migrate to Event Sourcing with Java 21 and updated dependencies

The project has been rebranded from CQRS to Event Sourcing, upgrading the build target from Java 8 to Java 21 and bumping the version to 1.0.2-SNAPSHOT. This change introduces a multi-module Maven structure (api, core, mysql, sample) and centralizes dependency management, updating key libraries such as Guava (30.1 to 33.7.2), Fastjson (1.2.70 to 1.2.84), and Logback (1.1.7 to 1.6.5). Additionally, the MySQL connector is updated to 8.0.33, and the build now includes Caffeine, Hutool, and Commons-DButils while removing the Spring JDBC dependency.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 46 → 47 (+1.5)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 63 → 63 (+0.0)
  • Architecture 78 → 78 (-0.1)
  • Maturity 48 → 53 (+5.4)
  • Readiness 29 → 29 (+0.0)
  • Security 99 → 100 (+1.3)

Resolved (3)

  • Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
  • Documentation: no installation or build instructions (README.md)
  • Documentation: no project overview (README.md)

New (10)

  • Dependency hygiene PARTLY measured — Maven build resolved part of the dependency graph, currency reported but not scored
  • Outdated (compile): ch.qos.logback.access:logback-access-common
  • Outdated (compile): ch.qos.logback:logback-classic
  • Outdated (compile): ch.qos.logback:logback-core
  • Outdated (compile): com.google.errorprone:error_prone_annotations
  • Outdated (compile): com.google.guava:guava
  • Outdated (compile): jakarta.servlet:jakarta.servlet-api
  • Outdated (compile): org.projectlombok:lombok
  • Outdated (compile): org.slf4j:slf4j-api
  • Outdated (test): org.hamcrest:hamcrest-core

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

654894017/cqrs was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 7 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 70fd6060b6cc9579efb7539bff0a12d1a314e1e9 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-45ab2cab63de.