接口 SchemaInfoProvider


@Private @Stable public interface SchemaInfoProvider
Schema Provider.
  • 方法详细资料

    • getSchemaByVersion

      CompletableFuture<SchemaInfo> getSchemaByVersion(byte[] schemaVersion)
      Retrieve the schema info of a given schemaVersion.
      参数:
      schemaVersion - schema version
      返回:
      schema info of the provided schemaVersion
    • getLatestSchema

      CompletableFuture<SchemaInfo> getLatestSchema()
      Retrieve the latest schema info.
      返回:
      the latest schema
    • getTopicName

      String getTopicName()
      Retrieve the topic name.
      返回:
      the topic name