public enum SchemaAutoUpdateCompatibilityStrategy extends Enum<SchemaAutoUpdateCompatibilityStrategy>
| Enum Constant and Description |
|---|
AlwaysCompatible
Always Compatible - The new schema will not be checked for compatibility against
old schemas.
|
AutoUpdateDisabled
Don't allow any auto updates.
|
Backward
Messages written in the previous schema can be read by the new schema.
|
BackwardTransitive
Be similar to Backward.
|
Forward
Messages written in the new schema can be read by the previous schema.
|
ForwardTransitive
Be similar to Forward, ForwardTransitive ensure new schema can be ready by all previous
version schema.
|
Full
Backward and Forward.
|
FullTransitive
BackwardTransitive and ForwardTransitive.
|
| Modifier and Type | Method and Description |
|---|---|
static SchemaAutoUpdateCompatibilityStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaAutoUpdateCompatibilityStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaAutoUpdateCompatibilityStrategy AutoUpdateDisabled
public static final SchemaAutoUpdateCompatibilityStrategy Backward
public static final SchemaAutoUpdateCompatibilityStrategy Forward
public static final SchemaAutoUpdateCompatibilityStrategy Full
public static final SchemaAutoUpdateCompatibilityStrategy AlwaysCompatible
public static final SchemaAutoUpdateCompatibilityStrategy BackwardTransitive
public static final SchemaAutoUpdateCompatibilityStrategy ForwardTransitive
public static final SchemaAutoUpdateCompatibilityStrategy FullTransitive
public static SchemaAutoUpdateCompatibilityStrategy[] values()
for (SchemaAutoUpdateCompatibilityStrategy c : SchemaAutoUpdateCompatibilityStrategy.values()) System.out.println(c);
public static SchemaAutoUpdateCompatibilityStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017–2022 Apache Software Foundation. All rights reserved.