Skip to content

Defines a common event store Java interface and provides some adapters (like for Greg Young's event store) and implementations (like in-memory, JPA or file-based).

License

Notifications You must be signed in to change notification settings

fuinorg/event-store-commons

Repository files navigation

event-store-commons

Defines a common event store Java interface and provides some adapters (like for Greg Young's event store) and implementations (like in-memory or file-based).

Java Maven Build Coverage Status Maven Central LGPLv3 License Java Development Kit 17

Versions

  • 0.7.x = New GRPC client / Removed http/esjc modules
  • 0.6.x = Java 17 and JUnit5
  • 0.5.x = Java 11 with new jakarta namespace
  • 0.4.x = Java 11 before namespace change from 'javax' to 'jakarta'
  • 0.3.2 (or less) = Java 8

Caution: The code coverage value is not correct (it's actually higher than above value) as the 'test' module is not considered correctly (See Issue #4)

Status

Warning This is work in progress Warning

Module Description Status Comment
esc-api Defines the event store commons API. OK Test coverage ~92%
esc-http-admin HTTP projection admin adapter for Greg Young's event store OK Test coverage ~80%
esc-grpc Event Store DB Client adapter for Greg Young's event store OK Test coverage ~80%
esc-jpa JPA adapter OK Test coverage ~59%
esc-mem In-memory implementation OK Test coverage ~60%
esc-spi Helper classes for adapters and implementations OK Test coverage ~67%
esc-test Cucumber tests for adapters and implementations OK Subscriptions not tested yet

Deprecated modules:

Module Description Comment
esc-http HTTP adapter for Greg Young's event store No longer supported by event store (use GRPC instead)
esc-esjc Event Store Java Client adapter for Greg Young's event store No longer supported by event store (use GRPC instead)

Architecture

Layers

Examples

Snapshots

Snapshots can be found on the OSS Sonatype Snapshots Repository.

Add the following to your .m2/settings.xml to enable snapshots in your Maven build:

<repository>
    <id>sonatype.oss.snapshots</id>
    <name>Sonatype OSS Snapshot Repository</name>
    <url>http://oss.sonatype.org/content/repositories/snapshots</url>
    <releases>
        <enabled>false</enabled>
    </releases>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
</repository>

About

Defines a common event store Java interface and provides some adapters (like for Greg Young's event store) and implementations (like in-memory, JPA or file-based).

Resources

License

Stars

Watchers

Forks

Packages

No packages published