Interface SchemaRegistryService
- All Superinterfaces:
AutoCloseable,SchemaRegistry
- All Known Implementing Classes:
DefaultSchemaRegistryService,SchemaRegistryServiceImpl,SchemaRegistryServiceWithSchemaDataValidator
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pulsar.broker.service.schema.SchemaRegistry
SchemaRegistry.SchemaAndMetadata -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.slf4j.Loggerstatic final long -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static SchemaRegistryServicecreate(org.apache.pulsar.common.protocol.schema.SchemaStorage schemaStorage, Set<String> schemaRegistryCompatibilityCheckers, ScheduledExecutorService scheduler) static Map<org.apache.pulsar.common.schema.SchemaType,SchemaCompatibilityCheck> getCheckers(Set<String> checkerClasses) Methods inherited from interface org.apache.pulsar.broker.service.schema.SchemaRegistry
checkCompatible, checkConsumerCompatibility, deleteSchema, deleteSchemaStorage, deleteSchemaStorage, findSchemaVersion, getAllSchemas, getSchema, getSchema, getSchemaVersionBySchemaData, isCompatible, putSchemaIfAbsent, trimDeletedSchemaAndGetList, versionFromBytes
-
Field Details
-
LOG
static final org.slf4j.Logger LOG -
NO_SCHEMA_VERSION
static final long NO_SCHEMA_VERSION- See Also:
-
-
Method Details
-
getCheckers
static Map<org.apache.pulsar.common.schema.SchemaType,SchemaCompatibilityCheck> getCheckers(Set<String> checkerClasses) throws Exception - Throws:
Exception
-
create
static SchemaRegistryService create(org.apache.pulsar.common.protocol.schema.SchemaStorage schemaStorage, Set<String> schemaRegistryCompatibilityCheckers, ScheduledExecutorService scheduler) -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-