Open risogolo opened 7 years ago
Yes I haven't updated this. Will do it over the weekend.
This repo is the .net core version already. No need to port it. The .net framework version is at https://github.com/dasiths/NEventLite
I will update it first and then port it to this repo as I find time. See how IEventStorageProvider is implemented if you want to use a different provider. GetEventStore is optional.
public interface IEventStorageProvider
{
Task<IEnumerable
public interface ISnapshotStorageProvider
{
int SnapshotFrequency { get; }
Task<Snapshot.Snapshot> GetSnapshotAsync(Type aggregateType, Guid aggregateId);
Task SaveSnapshotAsync(Type aggregateType, Snapshot.Snapshot snapshot);
}
Yes, but Storage providers were not ported, so I'm trying to port them, also I have a need to use Elasticsearch, so If I get "go", I will try to create new provider for Elasticsearch for either EventStorage and SnapshotStorage
Cool. You can certainly give it a go. Fork and then create a pull request once done. Thanks.
Can you please keep it updated. Just trying to understand the implementation, I need to port it to .NET Core, also planning to create provider for elastic search, so far I don't understand if the Eventstore (https://geteventstore.com/) is necessary ? or how can be replaced with custom implementation.