muoncore / newton

Extend Muon into the world of Spring. Implement Muon apis, especially around events to provide DDD patterns natively in Spring Boot
http://muoncore.io
GNU Lesser General Public License v3.0
12 stars 5 forks source link

Expose ReplayControl on StreamSubscriptionManager #52

Open daviddawson opened 7 years ago

daviddawson commented 7 years ago

It would be useful to be able to cancel an active subscription started on StreamSubscriptionManager

On the locking methods, this may be difficult to sync or manage effectively.

For now, exposing the EventReplayControl on localTrackingSubscription and localNonTrackingSubscription would help