csw.event.client.models

Members list

Type members

Classlikes

sealed trait EventStore

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object KafkaStore
class RedisStore
object EventStores

Event service supports two underlying implementations for event store

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.

Supertypes
class Object
trait Matchable
class Any
Self type