wwwlicious / servicestack-eventstore Goto Github PK
View Code? Open in Web Editor NEWServiceStack Plugin for event-sourced systems using GetEventStore
License: Other
ServiceStack Plugin for event-sourced systems using GetEventStore
License: Other
when service throw an exception,I want to retry it.But scaned the code,it happenes no action when the value of DropReason enum is EventHandlerException.
code beblow:
case SubscriptionDropReason.EventHandlerException:
//Subscription dropped because an exception was thrown by one of our handlers.
log.Error($@"Subscription to {subscription.StreamId} was dropped in response to a handler exception.
{message}");
Currently, the integration tests require a running instance of EventStore. This can be improved by switching to running an embedded EventStore node or cluster.
Can we expect port for .Net Core 2.0?
Hi,
is there any reason why you don't rollback the transaction and rethrow if an exception occures while saving multiple events at once?
try
{
await transaction.WriteAsync(pageEvents);
}
catch (Exception e) when (e.Message.Contains("WrongExpectedVersion"))
{
log.Error(e);
// todo: throw appropriate exception e.g. AggregateVersionException
}
catch (Exception e)
{
log.Error(e);
}
Previously, the EventStoreConnectionSettings
class was supplied to the ServiceStack.EventStore plugin with the connection and authentication settings. However, now these settings are being read from the app.config file of the root project.
Therefore, is there any need to pass in EventStoreConnectionSettings
? Can we not just instantiate it inside the plugin itself?
I'll remove this object from the constructor signature of EventStoreFeature
.
A ReadModelSubscription
should not be considered to be in a valid state unless a ReadModelStorage
has been specified. Further, there should be (as far as I can see) only one storage type per read model.
At the moment, the EventStore plugin is only capable of running against a single node. Since we will be running EventStore as a cluster we need to add the ability to connect to a cluster.
When running the integration tests against the embedded EventStore instance in AppVeyor there have been a large number of errors for the types used in the tests:
ERROR: System.NotImplementedException: Unable to resolve service 'EDTUpdated' at ServiceStack.Host.ServiceController.GetService(Type requestType) at ServiceStack.Host.ServiceController.ExecuteAsync(Object requestDto, IRequest req) at ServiceStack.EventStore.Dispatcher.EventDispatcher.<Dispatch>d__4.MoveNext() in C:\projects\servicestack-eventstore\src\ServiceStack.EventStore\Dispatcher\EventDispatcher.cs:line 49
Although this is not failing the build it needs to be investigated and fixed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.