core-java
core-java copied to clipboard
The Java implementation of the framework core
A Bounded Context is a _logical_ and _structural_ boundary of a model. Currently, the _structural_ part is implemented via the `BoundedContext` class, while the _logical_ part is implemented by the...
Even though it is possible to subscribe to events generated by a non-repository event producer such as `EventReactor`, those events are not delivered to the subscriptions. The reason for this...
This leads to an issue, when there is an event (`UserSignedIn`) which creates another event as a reaction (`UserConsentRequested`) and they both are dispatched to a single entity (`SessionProjection`) with...
Delivery behavior, when it's impossible to load Aggregate for some reason (a coding mistake, storage issues, etc.), is unclear. It looks like all commands and events that point to corrupted...
I was working on a test fixture `CountingContext` using Kotlin DSL and couldn't get results I expected from the very simple logic. It turned out that I used DSL in...
When routing an event via an `EventRoute` configured through a repository, the current tenant is not set. Since the repository is responsible for routing signals, it's natural that the users...
Currently it is impossible to understand, which recent commands were handled by an `Aggregate` or `ProcessManager` instance. Same applies to the events, to which these entities reacted. However, this is...
`Aggregate` and other entities, which state is built from events, do not provide any way to fetch the recent history of events. However, this can be extremely helpful in some...
When a command is rejected, two mutually exclusive scenarios are possible. It is not clear, how they differ. The scenarios are: 1. `CommandErrorHandler` catches the rejection, posts it to the...
Entity columns can be persisted in the storage as any Java type including non-`Comparable` ones. When querying for column value, some implementations (for example, [jdbc one](https://github.com/SpineEventEngine/jdbc-storage/blob/master/rdbms/src/main/java/io/spine/server/storage/jdbc/query/QueryPredicates.java)) may require that column...