Are ClusterSettings required if using ELB


While reading this

Cluster Settings

When connecting to an Event Store HA cluster you must pass an instance of ClusterSettings as well as the usual ConnectionSettings. Primarily this is used to tell the EventStoreConnection how to discover all the nodes in the cluster. A connection to a cluster will automatically handle reconnecting to a new node if the current connection fails.

We are using a cluster in AWS with an ELB in front of ES. Does the above about ClusterSettings apply in that case?




Strictly speaking no - you can treat a cluster behind an ELB as a single node, however, you likely don’t want an ELB in front of Event Store as it will prevent the client from doing the correct thing with regards to following the cluster leader etc.