public abstract class AbstractSchemaProvider extends Object implements SchemaProvider
SCHEMA_VERSION_FETCHER_CONFIG| Constructor and Description |
|---|
AbstractSchemaProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
canLookupIgnoringVersion(ParsedSchema current,
ParsedSchema prev) |
void |
configure(Map<String,?> configs) |
protected static String |
getConfluentVersion(Metadata metadata) |
protected static Integer |
getConfluentVersionNumber(Metadata metadata) |
protected static boolean |
hasLatestVersion(List<SchemaReference> refs) |
protected static List<SchemaReference> |
replaceLatestVersion(List<SchemaReference> refs,
SchemaVersionFetcher fetcher) |
protected Map<String,String> |
resolveReferences(Schema schema) |
protected Map<String,String> |
resolveReferences(Schema schema,
boolean isNew) |
SchemaVersionFetcher |
schemaVersionFetcher() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseSchema, parseSchema, parseSchema, parseSchema, parseSchema, parseSchemaOrElseThrow, schemaTypepublic void configure(Map<String,?> configs)
configure in interface SchemaProviderconfigure in interface org.apache.kafka.common.Configurablepublic SchemaVersionFetcher schemaVersionFetcher()
protected static boolean canLookupIgnoringVersion(ParsedSchema current, ParsedSchema prev)
protected static boolean hasLatestVersion(List<SchemaReference> refs)
protected static List<SchemaReference> replaceLatestVersion(List<SchemaReference> refs, SchemaVersionFetcher fetcher)
Copyright © 2025 Confluent, Inc.. All rights reserved.