Class EventStores

java.lang.Object
csw.event.client.models.EventStores

public class EventStores extends Object
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.

  • Constructor Details

    • EventStores

      public EventStores()
  • Method Details

    • jRedisStore

      public static EventStore jRedisStore()
      Java helpers to select appropriate event store.
      Returns:
      (undocumented)
    • jKafkaStore

      public static EventStore jKafkaStore()