Package fr.maif.eventsourcing
Class ReactorPostgresKafkaEventProcessorBuilder.BuilderWithEventHandler<S extends fr.maif.eventsourcing.State<S>,E extends fr.maif.eventsourcing.Event,Meta,Context>
java.lang.Object
fr.maif.eventsourcing.ReactorPostgresKafkaEventProcessorBuilder.BuilderWithEventHandler<S,E,Meta,Context>
- Enclosing class:
- ReactorPostgresKafkaEventProcessorBuilder
public static class ReactorPostgresKafkaEventProcessorBuilder.BuilderWithEventHandler<S extends fr.maif.eventsourcing.State<S>,E extends fr.maif.eventsourcing.Event,Meta,Context>
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal fr.maif.eventsourcing.EventStore.ConcurrentReplayStrategyfinal fr.maif.eventsourcing.format.JacksonSimpleFormat<Context>final fr.maif.eventsourcing.format.JacksonEventFormat<?,E> final ReactorEventStore<fr.maif.jooq.reactor.PgAsyncTransaction,E, Meta, Context> final fr.maif.eventsourcing.format.JacksonSimpleFormat<Meta>final fr.maif.jooq.reactor.PgAsyncPoolfinal TableNamesfinal ReactorTransactionManager<fr.maif.jooq.reactor.PgAsyncTransaction> -
Constructor Summary
ConstructorsConstructorDescriptionBuilderWithEventHandler(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, fr.maif.eventsourcing.EventHandler<S, E> eventHandler) -
Method Summary
Modifier and TypeMethodDescriptionwithAggregateStore(ReactorAggregateStore<S, String, fr.maif.jooq.reactor.PgAsyncTransaction> aggregateStore) withAggregateStore(Function<ReactorPostgresKafkaEventProcessorBuilder.BuilderWithEventHandler<S, E, Meta, Context>, ReactorAggregateStore<S, String, fr.maif.jooq.reactor.PgAsyncTransaction>> builder)
-
Field Details
-
pgAsyncPool
public final fr.maif.jooq.reactor.PgAsyncPool pgAsyncPool -
tableNames
-
transactionManager
-
eventFormat
public final fr.maif.eventsourcing.format.JacksonEventFormat<?,E extends fr.maif.eventsourcing.Event> eventFormat -
metaFormat
-
contextFormat
-
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, eventStoreMeta, Context> -
eventHandler
-
-
Constructor Details
-
BuilderWithEventHandler
public BuilderWithEventHandler(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, fr.maif.eventsourcing.EventHandler<S, E> eventHandler)
-
-
Method Details
-
withAggregateStore
public ReactorPostgresKafkaEventProcessorBuilder.BuilderWithAggregateStore<S,E, withAggregateStoreMeta, Context> (Function<ReactorPostgresKafkaEventProcessorBuilder.BuilderWithEventHandler<S, E, Meta, Context>, ReactorAggregateStore<S, String, fr.maif.jooq.reactor.PgAsyncTransaction>> builder) -
withAggregateStore
public ReactorPostgresKafkaEventProcessorBuilder.BuilderWithAggregateStore<S,E, withAggregateStoreMeta, Context> (ReactorAggregateStore<S, String, fr.maif.jooq.reactor.PgAsyncTransaction> aggregateStore) -
withDefaultAggregateStore
public ReactorPostgresKafkaEventProcessorBuilder.BuilderWithAggregateStore<S,E, withDefaultAggregateStore()Meta, Context>
-