Package csw.event.client.models
Class EventStores
- java.lang.Object
-
- csw.event.client.models.EventStores
-
public class EventStores extends java.lang.Object
Event service supports two underlying implementations for event store 1.EventStores.RedisStore
: This is the default and recommended store. If you are creatingEventService
usingEventServiceFactory
, 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 anEventService
which is backed by Kafka event store. You should not use this unless you have strong reasons to do so.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EventStores.KafkaStore$
static class
EventStores.RedisStore
static class
EventStores.RedisStore$
-
Constructor Summary
Constructors Constructor Description EventStores()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventStore
jKafkaStore()
static EventStore
jRedisStore()
Java helpers to select appropriate event store.
-
-
-
Method Detail
-
jRedisStore
public static EventStore jRedisStore()
Java helpers to select appropriate event store.- Returns:
- (undocumented)
-
jKafkaStore
public static EventStore jKafkaStore()
-
-