Implement cross-node event broadcasting with NATSEventBus #149
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
NATSEventBus exists but is not integrated with JetStreamEventStore. Events don't flow across cluster nodes.
Current State
JetStreamEventStorehas broadcaster field but most code usesNewJetStreamEventStore(no broadcaster)NewJetStreamEventStoreWithBroadcasterexists but underusedRequired Implementation
1. Default Broadcaster Configuration
2. Subscribe to EventStored Events
3. Cross-Node Event Flow
Acceptance Criteria
Implementation complete! Created PR #151 with:
UpdateVersionCachemethod in JetStreamEventStoreSubscribeToEventStoredhelper in NATSEventBus