@PublicEvolving public interface FormatFactory extends Factory
DecodingFormatFactory
and EncodingFormatFactory
.Modifier and Type | Method and Description |
---|---|
default Set<ConfigOption<?>> |
forwardOptions()
Returns a set of
ConfigOption that are directly forwarded to the runtime
implementation but don't affect the final execution topology. |
factoryIdentifier, optionalOptions, requiredOptions
default Set<ConfigOption<?>> forwardOptions()
ConfigOption
that are directly forwarded to the runtime
implementation but don't affect the final execution topology.
Options declared here can override options of the persisted plan during an enrichment
phase. Since a restored topology is static, an implementer has to ensure that the declared
options don't affect fundamental abilities such as ChangelogMode
.
For example, given a JSON format, if an option defines how to parse timestamps, changing
the parsing behavior does not affect the pipeline topology and can be allowed. However, an
option that defines whether the format results in a ProjectableDecodingFormat
or not
is not allowed. The wrapping connector and planner might not react to the changed abilities
anymore.
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.