When using EventStore.ClientAPI.Embedded (from nuget: http://www.nuget.org/packages/EventStore.Client.Embedded/ ), is there a way to build the ClusterVNode without opening tcp ports?
ClusterVNode embeddedInMemoryVNode = EmbeddedVNodeBuilder.AsSingleNode()
.RunInMemory()
.RunProjections(ProjectionsMode.All)
.WithWorkerThreads(16);
embeddedInMemoryVNode.Start();
var connection = EmbeddedEventStoreConnection.Create(embeddedInMemoryVNode, settings);
The above code gives me the exception:
System.ArgumentNullException was caught
_HResult=-2147467261
_message=Value cannot be null.
HResult=-2147467261
IsTransient=false
Message=Value cannot be null.
Parameter name: internalTcpEndPoint
Source=EventStore.ClientAPI.Embedded
ParamName=internalTcpEndPoint
Is there a way to build the ClusterVNode without opening tcp ports? Or is this by design? I was hoping to load up multiple Vnodes in memory without having to manage instance has which ports. (much less having ports open)
Thanks,
Ryan