EventStores

csw.event.client.models.EventStores
object EventStores

Event service supports two underlying implementations for event store

  1. csw.event.client.models.EventStores.RedisStore: This is the default and recommended store. If you are creating csw.event.api.scaladsl.EventService using csw.event.client.EventServiceFactory, then you should shutdown redis client when it is no longer in use.
  2. csw.event.client.models.EventStores.KafkaStore: This can be used to create an csw.event.api.scaladsl.EventService which is backed by Kafka event store. You should not use this unless you have strong reasons to do so.

Attributes

Note

If you are using csw-framework, your component will already have an event service injected which is backed up by csw.event.client.models.EventStores.RedisStore. You do not need to take the csw.event.client.EventServiceFactory route.

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Keywords
  • no keywords
  • case

Type members

Classlikes

case object KafkaStore extends EventStore

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait EventStore
class Object
trait Matchable
class Any
Show all
Self type
KafkaStore.type
case class RedisStore(redisClient: RedisClient) extends EventStore

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventStore
class Object
trait Matchable
class Any
Show all

Value members

Concrete fields

Java helpers to select appropriate event store.

Java helpers to select appropriate event store.

Attributes