Class PublishedEventModelMigration.Builder
java.lang.Object
io.fluxzero.sdk.configuration.PublishedEventModelMigration.Builder
- Enclosing class:
PublishedEventModelMigration
Builder for one isolated published-event Model migration application.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the isolated migration application and validates its complete Model catalog.Sets the low-level client owned and closed by the migration application.maxFetchSize(int maxFetchSize) Overrides the conservative replay batch size.modelsInPackage(String packageName) Discovers registered Model roots in this package and its subpackages.modelTypes(Class<?>... modelTypes) Adds explicit Model roots to the migration catalog.modelTypes(Collection<Class<?>> modelTypes) Adds explicit Model roots to the migration catalog.Sets the stable durable consumer name.serializer(Serializer serializer) Uses the serializer and upcaster chain for legacy events, Model snapshots and documents.
-
Method Details
-
name
Sets the stable durable consumer name. -
client
Sets the low-level client owned and closed by the migration application. -
serializer
Uses the serializer and upcaster chain for legacy events, Model snapshots and documents. -
modelTypes
Adds explicit Model roots to the migration catalog. -
modelTypes
Adds explicit Model roots to the migration catalog. -
modelsInPackage
Discovers registered Model roots in this package and its subpackages. -
maxFetchSize
Overrides the conservative replay batch size. Ordering and tracker count remain fixed. -
build
Builds the isolated migration application and validates its complete Model catalog.
-