Skip to content

Instantly share code, notes, and snippets.

Created February 23, 2016 04:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
var settings = ConnectionSettings.Create(); //.EnableVerboseLogging().UseConsoleLogger();
using (_conn = EventStoreConnection.Create(settings, new IPEndPoint(IPAddress.Loopback, DEFAULTPORT)))
var bufferSize = 10;
var autoAck = true;
_conn.ConnectToPersistentSubscription(STREAM, GROUP, EventAppeared, SubscriptionDropped, User,
bufferSize, autoAck);
Console.WriteLine("waiting for events. press enter to exit");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment