csw.event.client.models
package csw.event.client.models
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object KafkaStoreclass RedisStore
object EventStores
Event service supports two underlying implementations for event store
Event service supports two underlying implementations for event store
- 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.
- 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 Objecttrait Matchableclass Any
- Self type
-
EventStores.type
In this article