Package com.opencqrs.esdb.client
package com.opencqrs.esdb.client
Base package for the ESDB client.
-
ClassDescriptionBase class for an exception thrown from
EsdbClient
.Base class for exceptions related to HTTP status codes returned from an event store.Exception class thrown for HTTP status codes4xx
.Exception class thrown for HTTP status codes5xx
.Exception class representing thread interruption.Exception class representing errors due to invalidclient API
usage.Exception class thrown byMarshaller
implementations due to serialization or deserialization errors.Exception class representing network and/or connection errors.Client SDK for the EventSourcingDB.Auto-configuration
forEsdbClient
.Auto-configuration
forEsdbHealthIndicator
.HealthContributor
implementation based onEsdbClient.health()
.Server configuration settings.Event data structure retrieved from an event store, conforming to the Cloud Events Specification.Candidate event forpublication
to a Cloud Events Specification conforming event store.Represents the current health status of the configured ESDB.Health status.Static helper methods related toEvent.id()
.Auto-configuration
forJacksonMarshaller
.Interface specifying operations for HTTP request/response marshalling.Sealed interface representing a deserialized ND-JSON response line transformed viaMarshaller.fromQueryResponseLine(String)
.Represents anerror
returned from the event store, typically caused by an invalid query or missing data in the result set.Represents arow
returned from the event store, which may be processed by the deferredBiConsumer
.Sealed interface representing a deserialized ND-JSON response line transformed viaMarshaller.fromReadOrObserveResponseLine(String)
.Represents a heart beat returned from the event store to ensure the underlying HTTP connection is kept alive.Sealed interface for options used byEsdbClient
to read or observe events from the underlying event store.Specifies that the list of events is optimized by omitting any event prior to the latest event available for the subject specified as part ofthis
.Specifies the fall-back fetch strategy.Specifies the lowest exclusive event id to fetch from.Specifies the lowest inclusive event id to fetch from.Encapsulates the type of ordering of the fetched events.Specifies the event order.Specifies that events shall be fetched recursively, that is including the requested subject (events) and its hierarchical subject (events).Specifies the highest exclusive event id to fetch to.Specifies the highest inclusive event id to fetch to.Sealed interface for preconditions used forevent publication
to ensure consistency within the underlying event store.A precondition stating the given subject must have been updated by the given event id.A precondition stating the given subject must not yet exist within the event store.