@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface ClusterSupport
SourceClusterSupport
that a Source
should have when running in cluster mode.
When the selected value is other than SourceClusterSupport.NOT_SUPPORTED
, a parameter named
ExtensionConstants.PRIMARY_NODE_ONLY_PARAMETER_NAME
is addeed automatically to allow the user to configure whether
the source should run in all nodes or just the primary ones.
Notice that when this parameter is in fact added, it will be optional and its default value will depend on the
SourceClusterSupport
Modifier and Type | Optional Element and Description |
---|---|
SourceClusterSupport |
value |
public abstract SourceClusterSupport value
Copyright © 2018. All rights reserved.