Package csw.event.client.models
Class EventStores
java.lang.Object
csw.event.client.models.EventStores
Event service supports two underlying implementations for event store
1.
EventStores.RedisStore
: This is the default and recommended store. If you are creating EventService
using 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 EventService
which is backed by Kafka event store. You should not use this unless you have strong reasons to do so.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EventStore
static EventStore
Java helpers to select appropriate event store.
-
Constructor Details
-
EventStores
public EventStores()
-
-
Method Details
-
jRedisStore
Java helpers to select appropriate event store.- Returns:
- (undocumented)
-
jKafkaStore
-