Class 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 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 Detail

      • EventStores

        public EventStores()
    • Method Detail

      • jRedisStore

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

        public static EventStore jKafkaStore()