接口 SchemaInfoProvider
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 java.util.concurrent.CompletableFuture<SchemaInfo>getLatestSchema()Retrieve the latest schema info.java.util.concurrent.CompletableFuture<SchemaInfo>getSchemaByVersion(byte[] schemaVersion)Retrieve the schema info of a given schemaVersion.java.lang.StringgetTopicName()Retrieve the topic name.
-
-
-
方法详细资料
-
getSchemaByVersion
java.util.concurrent.CompletableFuture<SchemaInfo> getSchemaByVersion(byte[] schemaVersion)
Retrieve the schema info of a given schemaVersion.- 参数:
schemaVersion- schema version- 返回:
- schema info of the provided schemaVersion
-
getLatestSchema
java.util.concurrent.CompletableFuture<SchemaInfo> getLatestSchema()
Retrieve the latest schema info.- 返回:
- the latest schema
-
getTopicName
java.lang.String getTopicName()
Retrieve the topic name.- 返回:
- the topic name
-
-