EsSettings

@SerialVersionUID(1L) final case
class EsSettings(address: InetSocketAddress, connectionTimeout: FiniteDuration, maxReconnections: Int, reconnectionDelayMin: FiniteDuration, reconnectionDelayMax: FiniteDuration, defaultCredentials: Option[UserCredentials], heartbeatInterval: FiniteDuration, heartbeatTimeout: FiniteDuration, operationMaxRetries: Int, operationTimeout: FiniteDuration, resolveLinkTos: Boolean, requireMaster: Boolean, readBatchSize: Int, enableTcpTls: Boolean, cluster: Option[ClusterSettings], http: HttpSettings, serializationParallelism: Int, serializationOrdered: Boolean, connectionName: Option[String])
Value Params
address

IP & port of Event Store

cluster

see ClusterSettings

connectionName

Client identifier used to show a friendly name of client in Event Store.

connectionTimeout

The desired connection timeout

defaultCredentials

The UserCredentials to use for operations where other UserCredentials are not explicitly supplied.

enableTcpTls

Whether TLS should be enabled for TCP connections.

heartbeatInterval

The interval at which to send heartbeat messages.

heartbeatTimeout

The interval after which an unacknowledged heartbeat will cause the connection to be considered faulted and disconnect.

http

see HttpSettings

maxReconnections

Maximum number of reconnections before backing off, -1 to reconnect forever

operationMaxRetries

The maximum number of operation retries

operationTimeout

The amount of time before an operation is considered to have timed out

readBatchSize

Number of events to be retrieved by client as single message

reconnectionDelayMax

Maximum delay on reconnections

reconnectionDelayMin

Delay before first reconnection

requireMaster

Whether or not to require Event Store to refuse serving read or write request if it is not master

resolveLinkTos

Whether to resolve LinkTo events automatically

serializationOrdered

Serialization done asynchronously and these futures may complete in any order, but results will be used with preserved order if set to true

serializationParallelism

The number of serialization/deserialization functions to be run in parallel

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product