Uses of Enum Class
org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy
Package
Description
Implementation of policies.
-
Uses of SchemaCompatibilityStrategy in org.apache.pulsar.client.admin
Modifier and TypeMethodDescriptionNamespaces.getSchemaCompatibilityStrategy
(String namespace) Get the strategy used to check the a new schema provided by a producer is compatible with the current schema before it is installed.TopicPolicies.getSchemaCompatibilityStrategy
(String topic, boolean applied) Get schema compatibility strategy on a topic.Modifier and TypeMethodDescriptionNamespaces.getSchemaCompatibilityStrategyAsync
(String namespace) Get the strategy used to check the a new schema provided by a producer is compatible with the current schema before it is installed asynchronously.TopicPolicies.getSchemaCompatibilityStrategyAsync
(String topic, boolean applied) Get schema compatibility strategy on a topic asynchronously.Modifier and TypeMethodDescriptionvoid
Namespaces.setSchemaCompatibilityStrategy
(String namespace, SchemaCompatibilityStrategy strategy) Set the strategy used to check the a new schema provided by a producer is compatible with the current schema before it is installed.void
TopicPolicies.setSchemaCompatibilityStrategy
(String topic, SchemaCompatibilityStrategy strategy) Set schema compatibility strategy on a topic.Namespaces.setSchemaCompatibilityStrategyAsync
(String namespace, SchemaCompatibilityStrategy strategy) Set the strategy used to check the a new schema provided by a producer is compatible with the current schema before it is installed asynchronously.TopicPolicies.setSchemaCompatibilityStrategyAsync
(String topic, SchemaCompatibilityStrategy strategy) Set schema compatibility strategy on a topic asynchronously. -
Uses of SchemaCompatibilityStrategy in org.apache.pulsar.common.policies.data
Modifier and TypeMethodDescriptionstatic SchemaCompatibilityStrategy
SchemaCompatibilityStrategy.fromAutoUpdatePolicy
(SchemaAutoUpdateCompatibilityStrategy strategy) static SchemaCompatibilityStrategy
Returns the enum constant of this class with the specified name.static SchemaCompatibilityStrategy[]
SchemaCompatibilityStrategy.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic boolean
SchemaCompatibilityStrategy.isUndefined
(SchemaCompatibilityStrategy strategy)