Uses of Enum Class
org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy
Packages that use SchemaCompatibilityStrategy
Package
Description
Implementation of policies.
-
Uses of SchemaCompatibilityStrategy in org.apache.pulsar.client.admin
Methods in org.apache.pulsar.client.admin that return SchemaCompatibilityStrategyModifier 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.Methods in org.apache.pulsar.client.admin that return types with arguments of type SchemaCompatibilityStrategyModifier 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.Methods in org.apache.pulsar.client.admin with parameters of type SchemaCompatibilityStrategyModifier 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
Fields in org.apache.pulsar.common.policies.data declared as SchemaCompatibilityStrategyMethods in org.apache.pulsar.common.policies.data that return SchemaCompatibilityStrategyModifier 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.Methods in org.apache.pulsar.common.policies.data with parameters of type SchemaCompatibilityStrategyModifier and TypeMethodDescriptionstatic boolean
SchemaCompatibilityStrategy.isUndefined
(SchemaCompatibilityStrategy strategy)