类的使用
org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy
-
使用SchemaCompatibilityStrategy的程序包 程序包 说明 org.apache.pulsar.client.admin Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.common.policies.data Implementation of policies. -
-
org.apache.pulsar.client.admin中SchemaCompatibilityStrategy的使用
返回SchemaCompatibilityStrategy的org.apache.pulsar.client.admin中的方法 修饰符和类型 方法 说明 SchemaCompatibilityStrategyNamespaces. getSchemaCompatibilityStrategy(java.lang.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.返回变量类型为SchemaCompatibilityStrategy的类型的org.apache.pulsar.client.admin中的方法 修饰符和类型 方法 说明 java.util.concurrent.CompletableFuture<SchemaCompatibilityStrategy>Namespaces. getSchemaCompatibilityStrategyAsync(java.lang.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.参数类型为SchemaCompatibilityStrategy的org.apache.pulsar.client.admin中的方法 修饰符和类型 方法 说明 voidNamespaces. setSchemaCompatibilityStrategy(java.lang.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.java.util.concurrent.CompletableFuture<java.lang.Void>Namespaces. setSchemaCompatibilityStrategyAsync(java.lang.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. -
org.apache.pulsar.common.policies.data中SchemaCompatibilityStrategy的使用
声明为SchemaCompatibilityStrategy的org.apache.pulsar.common.policies.data中的字段 修饰符和类型 字段 说明 SchemaCompatibilityStrategyPolicies. schema_compatibility_strategy返回SchemaCompatibilityStrategy的org.apache.pulsar.common.policies.data中的方法 修饰符和类型 方法 说明 static SchemaCompatibilityStrategySchemaCompatibilityStrategy. fromAutoUpdatePolicy(SchemaAutoUpdateCompatibilityStrategy strategy)static SchemaCompatibilityStrategySchemaCompatibilityStrategy. valueOf(java.lang.String name)返回带有指定名称的该类型的枚举常量。static SchemaCompatibilityStrategy[]SchemaCompatibilityStrategy. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。参数类型为SchemaCompatibilityStrategy的org.apache.pulsar.common.policies.data中的方法 修饰符和类型 方法 说明 static booleanSchemaCompatibilityStrategy. isUndefined(SchemaCompatibilityStrategy strategy)
-