Class ReactorPostgresKafkaEventProcessorBuilder.BuilderWithProjections<Error,S extends fr.maif.eventsourcing.State<S>,C extends fr.maif.eventsourcing.Command<Meta,Context>,E extends fr.maif.eventsourcing.Event,Message,Meta,Context>

java.lang.Object
fr.maif.eventsourcing.ReactorPostgresKafkaEventProcessorBuilder.BuilderWithProjections<Error,S,C,E,Message,Meta,Context>
Enclosing class:
ReactorPostgresKafkaEventProcessorBuilder

public static class ReactorPostgresKafkaEventProcessorBuilder.BuilderWithProjections<Error,S extends fr.maif.eventsourcing.State<S>,C extends fr.maif.eventsourcing.Command<Meta,Context>,E extends fr.maif.eventsourcing.Event,Message,Meta,Context> extends Object
  • Field Details

    • pgAsyncPool

      public final fr.maif.jooq.reactor.PgAsyncPool pgAsyncPool
    • tableNames

      public final TableNames tableNames
    • transactionManager

      public final ReactorTransactionManager<fr.maif.jooq.reactor.PgAsyncTransaction> transactionManager
    • eventFormat

      public final fr.maif.eventsourcing.format.JacksonEventFormat<?,E extends fr.maif.eventsourcing.Event> eventFormat
    • metaFormat

      public final fr.maif.eventsourcing.format.JacksonSimpleFormat<Meta> metaFormat
    • contextFormat

      public final fr.maif.eventsourcing.format.JacksonSimpleFormat<Context> contextFormat
    • eventPublisher

      public final fr.maif.reactor.eventsourcing.ReactorKafkaEventPublisher<E extends fr.maif.eventsourcing.Event,Meta,Context> eventPublisher
    • concurrentReplayStrategy

      public final fr.maif.eventsourcing.EventStore.ConcurrentReplayStrategy concurrentReplayStrategy
    • eventStore

      public final ReactorEventStore<fr.maif.jooq.reactor.PgAsyncTransaction,E extends fr.maif.eventsourcing.Event,Meta,Context> eventStore
    • aggregateStore

      public final ReactorAggregateStore<S extends fr.maif.eventsourcing.State<S>,String,fr.maif.jooq.reactor.PgAsyncTransaction> aggregateStore
    • eventHandler

      public final fr.maif.eventsourcing.EventHandler<S extends fr.maif.eventsourcing.State<S>,E extends fr.maif.eventsourcing.Event> eventHandler
    • commandHandler

      public final fr.maif.eventsourcing.CommandHandler<Error,S extends fr.maif.eventsourcing.State<S>,C extends fr.maif.eventsourcing.Command<Meta,Context>,E extends fr.maif.eventsourcing.Event,Message,fr.maif.jooq.reactor.PgAsyncTransaction> commandHandler
    • projections

      public final io.vavr.collection.List<fr.maif.eventsourcing.Projection<fr.maif.jooq.reactor.PgAsyncTransaction,E extends fr.maif.eventsourcing.Event,Meta,Context>> projections
  • Constructor Details

    • BuilderWithProjections

      public BuilderWithProjections(fr.maif.jooq.reactor.PgAsyncPool pgAsyncPool, TableNames tableNames, ReactorTransactionManager<fr.maif.jooq.reactor.PgAsyncTransaction> transactionManager, fr.maif.eventsourcing.format.JacksonEventFormat<?,E> eventFormat, fr.maif.eventsourcing.format.JacksonSimpleFormat<Meta> metaFormat, fr.maif.eventsourcing.format.JacksonSimpleFormat<Context> contextFormat, fr.maif.reactor.eventsourcing.ReactorKafkaEventPublisher<E,Meta,Context> eventPublisher, fr.maif.eventsourcing.EventStore.ConcurrentReplayStrategy concurrentReplayStrategy, ReactorEventStore<fr.maif.jooq.reactor.PgAsyncTransaction,E,Meta,Context> eventStore, ReactorAggregateStore<S,String,fr.maif.jooq.reactor.PgAsyncTransaction> aggregateStore, fr.maif.eventsourcing.EventHandler<S,E> eventHandler, fr.maif.eventsourcing.CommandHandler<Error,S,C,E,Message,fr.maif.jooq.reactor.PgAsyncTransaction> commandHandler, io.vavr.collection.List<fr.maif.eventsourcing.Projection<fr.maif.jooq.reactor.PgAsyncTransaction,E,Meta,Context>> projections)
  • Method Details