Version 1.0.0 now available:
https://www.nuget.org/packages/EventStore.SubscriptionService/1.0.0
This is a simple service which allow you to configure persistent subscriptions, along with a designated endpoint to deliver the events to.
We have been using this in Production for a few years and decided to open it up to the world to use.
The GitHub repository has some more details, but a few lines of code is all you need:
String connectionString = "ConnectTo=tcp://admin:[email protected]:1113;VerboseLogging=true;";
IEventStoreConnection eventStoreConnection = EventStoreConnection.Create(new Uri(connectionString));
List<Subscription> subscriptions = new List<Subscription>();
subscriptions.Add(Subscription.Create("$ce-Accounts", "Read Model", new Uri("http://127.0.0.1/api/events")));
//You are responsible for the connection.
await eventStoreConnection.ConnectAsync();
SubscriptionService subscriptionService = new SubscriptionService(subscriptions, eventStoreConnection);
await subscriptionService.Start(CancellationToken.None);
GitHub repository:
https://github.com/vmeretail/subscriptionservice
Steven