You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consistent (synchronous) readmodel updates added complexity without
sufficient benefit. All long-lived readmodels now use eventually
consistent processing via the existing async ProjectorProcessor
infrastructure.
Removed:
- ConsistentEventProcessor interface
- CONSISTENT enum value from Consistency
- consistent() method from LiveModelSpecification and
LongLivedReadModelSpecification interfaces
- Synchronous event subscription in BoundedContextImpl
- updateSharedConsistentModels method from ReadModelModule
- consistentReadModels collection and constructor parameter
- All consistent model test fixtures from EventDispatchingToReadModelsTest
https://claude.ai/code/session_01BS1GKM5XqW4kQyauxndPoZ
Copy file name to clipboardExpand all lines: sliceworkz-eventmodeling-api/src/main/java/org/sliceworkz/eventmodeling/readmodels/LiveModelSpecification.java
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,6 @@ public interface LiveModelSpecification<DOMAIN_EVENT_TYPE, INBOUND_EVENT_TYPE, O
Copy file name to clipboardExpand all lines: sliceworkz-eventmodeling-api/src/main/java/org/sliceworkz/eventmodeling/readmodels/LongLivedReadModelSpecification.java
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,6 @@ public interface LongLivedReadModelSpecification<DOMAIN_EVENT_TYPE, INBOUND_EVEN
Copy file name to clipboardExpand all lines: sliceworkz-eventmodeling-impl/src/main/java/org/sliceworkz/eventmodeling/module/boundedcontext/BoundedContextBuilderImpl.java
+4-37Lines changed: 4 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -309,10 +309,9 @@ public <T extends BoundedContext<DOMAIN_EVENT_TYPE, INBOUND_EVENT_TYPE, OUTBOUND
thrownewIllegalArgumentException("CONSISTENT updates are only supported for SHARED ReadMoodels. LIVE, LOCAL and EPHEMERAL ReadModels can not by updated CONSISTENTly.");
Copy file name to clipboardExpand all lines: sliceworkz-eventmodeling-impl/src/main/java/org/sliceworkz/eventmodeling/module/boundedcontext/BoundedContextImpl.java
this.domainEventStream.subscribe(this::syncDomainEventHandler); // subscribe the kernel to the stream's event appends, to deliver to consistent consumers
103
101
104
102
this.readmodelModule = readmodelModule;
105
103
this.inboundModule = inboundModule;
@@ -297,16 +295,6 @@ public <T extends Aggregate<DOMAIN_EVENT_TYPE>> T aggregate(Class<T> aggregateCl
Copy file name to clipboardExpand all lines: sliceworkz-eventmodeling-impl/src/main/java/org/sliceworkz/eventmodeling/module/eventdispatching/ConsistentEventProcessor.java
Copy file name to clipboardExpand all lines: sliceworkz-eventmodeling-impl/src/main/java/org/sliceworkz/eventmodeling/module/readmodels/ReadModelModule.java
-16Lines changed: 0 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,6 @@ public class ReadModelModule<DOMAIN_EVENT_TYPE> implements LifecycleCapability {
0 commit comments