package akka
- Alphabetic
- By Inheritance
- akka
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class EsConnection extends AnyRef
Maintains a full duplex connection to the EventStore
Maintains a full duplex connection to the EventStore
All operations are handled in a full async manner. Many threads can use an EsConnection at the same time or a single thread can make many asynchronous requests. To get the most performance out of the connection it is generally recommended to use it in this way.
- trait EsTransaction extends AnyRef
- class EventStoreExtension extends Extension
- sealed trait OverflowStrategy extends AnyRef
- final case class ProjectionDetails(name: String, effectiveName: String, version: Int, epoch: Int, status: ProjectionStatus, stateReason: String, mode: ProjectionMode, writesInProgress: Int, readsInProgress: Int, progress: Double, bufferedEvents: Int) extends Product with Serializable
- class ProjectionsClient extends ProjectionsUrls
A client allowing to create, get the status and delete an existing projection.
- trait ProjectionsUrls extends AnyRef
The API miss documentation so I used the C# client as a starting point See : https://github.com/EventStore/EventStore/blob/release-v3.9.0/src/EventStore.ClientAPI/Projections/ProjectionsClient.cs
The API miss documentation so I used the C# client as a starting point See : https://github.com/EventStore/EventStore/blob/release-v3.9.0/src/EventStore.ClientAPI/Projections/ProjectionsClient.cs
- Attributes
- protected[this]
- implicit final class RichPartialFunction extends AnyVal
- final case class Settings(address: InetSocketAddress = "127.0.0.1" :: 1113, connectionTimeout: FiniteDuration = 1.second, maxReconnections: Int = 100, reconnectionDelayMin: FiniteDuration = 250.millis, reconnectionDelayMax: FiniteDuration = 10.seconds, defaultCredentials: Option[UserCredentials] = Some(UserCredentials.DefaultAdmin), heartbeatInterval: FiniteDuration = 500.millis, heartbeatTimeout: FiniteDuration = 5.seconds, operationMaxRetries: Int = 10, operationTimeout: FiniteDuration = 30.seconds, resolveLinkTos: Boolean = false, requireMaster: Boolean = true, readBatchSize: Int = 500, enableTcpTls: Boolean = false, cluster: Option[ClusterSettings] = None, http: HttpSettings = cs.HttpSettings.Default, serializationParallelism: Int = 8, serializationOrdered: Boolean = true, connectionName: Option[String] = Some("jvm-client"), bufferSize: Int = 100000, bufferOverflowStrategy: OverflowStrategy = a.OverflowStrategy.Fail) extends Product with Serializable
- address
IP & port of Event Store
- connectionTimeout
The desired connection timeout
- maxReconnections
Maximum number of reconnections before backing off, -1 to reconnect forever
- reconnectionDelayMin
Delay before first reconnection
- reconnectionDelayMax
Maximum delay on reconnections
- defaultCredentials
The UserCredentials to use for operations where other UserCredentials are not explicitly supplied.
- 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.
- operationMaxRetries
The maximum number of operation retries
- operationTimeout
The amount of time before an operation is considered to have timed out
- resolveLinkTos
Whether to resolve LinkTo events automatically
- requireMaster
Whether or not to require Event Store to refuse serving read or write request if it is not master
- readBatchSize
Number of events to be retrieved by client as single message
- enableTcpTls
Whether TLS should be enabled for TCP connections. TLS setup is loaded from eventstore.ssl-config when enabled.
- http
Url to access eventstore though the Http API. When https is used, TLS setup is loaded from akka.ssl-config.
- serializationParallelism
The number of serialization/deserialization functions to be run in parallel
- serializationOrdered
Serialization done asynchronously and these futures may complete in any order, but results will be used with preserved order if set to true
- connectionName
Client identifier used to show a friendly name of client in Event Store.
- bufferSize
The size of the buffer in element count
- bufferOverflowStrategy
Strategy that is used when elements cannot fit inside the buffer
- Annotations
- @SerialVersionUID()
- trait SubscriptionObserver[T] extends AnyRef
Value Members
- object EsConnection
- object EventStoreExtension extends ExtensionId[EventStoreExtension] with ExtensionIdProvider
- case object LiveProcessingStarted extends Product with Serializable
- Annotations
- @SerialVersionUID()
- object OverflowStrategy
- object PersistentSubscriptionActor
- object ProjectionDetails extends Serializable
- object ProjectionsClient
- object Settings extends Serializable
- object StreamSubscriptionActor
- object SubscriptionActor
- object SubscriptionObserverActor
- object TransactionActor