Uses of Class
io.confluent.kafka.schemaregistry.exceptions.SchemaRegistryException
Packages that use SchemaRegistryException
Package
Description
-
Uses of SchemaRegistryException in io.confluent.kafka.schemaregistry.exceptions
Subclasses of SchemaRegistryException in io.confluent.kafka.schemaregistry.exceptionsModifier and TypeClassDescriptionclassclassclassclassclassclassIndicates a schema already exists with a different ID.classclassIndicates the schema is incompatible with the registered schemaclassIndicates an invalid schema that does not conform to the expected format of the schemaclassIndicates that the version is not a valid version id.classclassThe requested operation is not permitted.classIndicates the schema cannot be deleted because another schema references it.classIndicates an error while initializing schema registryclassIndicates an error while forwarding a write request to the leader node in a schema registry clusterclassIndicates an error while performing an operation on the underlying data store that stores all schemas in the registryclassIndicates that some schema registry operation timed out.classclassclassclassclassclassclassclassIndicates that the node that is asked to serve the request is not the current leader and is not aware of the leader node to forward the request to -
Uses of SchemaRegistryException in io.confluent.kafka.schemaregistry.rest.extensions
Methods in io.confluent.kafka.schemaregistry.rest.extensions that throw SchemaRegistryExceptionModifier and TypeMethodDescriptionvoidSchemaRegistryResourceExtension.register(jakarta.ws.rs.core.Configurable<?> config, SchemaRegistryConfig schemaRegistryConfig, SchemaRegistry schemaRegistry) -
Uses of SchemaRegistryException in io.confluent.kafka.schemaregistry.rest.handlers
Methods in io.confluent.kafka.schemaregistry.rest.handlers that throw SchemaRegistryExceptionModifier and TypeMethodDescriptionvoidCompositeUpdateRequestHandler.handle(ConfigUpdateRequest request, Map<String, String> headerProperties) voidCompositeUpdateRequestHandler.handle(Schema schema, TagSchemaRequest request, Map<String, String> headerProperties) voidCompositeUpdateRequestHandler.handle(String subject, boolean normalize, RegisterSchemaRequest request, Map<String, String> headerProperties) voidCompositeUpdateRequestHandler.handle(String subject, ConfigUpdateRequest request, Map<String, String> headerProperties) default voidUpdateRequestHandler.handle(ConfigUpdateRequest request, Map<String, String> headerProperties) default voidUpdateRequestHandler.handle(Schema schema, TagSchemaRequest request, Map<String, String> headerProperties) default voidUpdateRequestHandler.handle(String subject, boolean normalize, RegisterSchemaRequest request, Map<String, String> headerProperties) default voidUpdateRequestHandler.handle(String subject, ConfigUpdateRequest request, Map<String, String> headerProperties) -
Uses of SchemaRegistryException in io.confluent.kafka.schemaregistry.storage
Methods in io.confluent.kafka.schemaregistry.storage that throw SchemaRegistryExceptionModifier and TypeMethodDescriptionprotected CloseableIterator<SchemaRegistryValue>AbstractSchemaRegistry.allContexts()AbstractSchemaRegistry.allVersionsIncludingAliasesWithSubjectPrefix(String prefix, LookupFilter filter, boolean returnLatestOnly, Predicate<Schema> postFilter) AbstractSchemaRegistry.batchGetAssociations(boolean includeSchemas, AssociationBatchGetRequest request) default AssociationBatchResponseSchemaRegistry.batchGetAssociations(boolean includeSchemas, AssociationBatchGetRequest request) protected ParsedSchemaAbstractSchemaRegistry.canonicalizeSchema(Schema schema, Config config, boolean validateAsNew, boolean normalize) protected voidAbstractSchemaRegistry.checkDeleteAssociation(Association oldAssociation, boolean cascadeLifecycle) voidAbstractSchemaRegistry.checkIfSchemaWithIdExist(int id, Schema schema) AbstractSchemaRegistry.createAssociation(String context, boolean dryRun, AssociationCreateOrUpdateRequest request) default AssociationResponseSchemaRegistry.createAssociation(String context, boolean dryRun, AssociationCreateOrUpdateRequest request) KafkaSchemaRegistry.createAssociationOrForward(String context, boolean dryRun, AssociationCreateOrUpdateRequest request, Map<String, String> headerProperties) default AssociationResponseSchemaRegistry.createAssociationOrForward(String context, boolean dryRun, AssociationCreateOrUpdateRequest request, Map<String, String> headerProperties) AbstractSchemaRegistry.createOrUpdateAssociation(String context, boolean dryRun, AssociationCreateOrUpdateRequest request) AbstractSchemaRegistry.createOrUpdateAssociation(String context, boolean dryRun, AssociationCreateOrUpdateRequest request, boolean isCreate) default AssociationResponseSchemaRegistry.createOrUpdateAssociation(String context, boolean dryRun, AssociationCreateOrUpdateRequest request) KafkaSchemaRegistry.createOrUpdateAssociationOrForward(String context, boolean dryRun, AssociationCreateOrUpdateRequest request, Map<String, String> headerProperties) default AssociationResponseSchemaRegistry.createOrUpdateAssociationOrForward(String context, boolean dryRun, AssociationCreateOrUpdateRequest request, Map<String, String> headerProperties) protected voidAbstractSchemaRegistry.deleteAssociationEntry(Association oldAssociation) protected voidKafkaSchemaRegistry.deleteAssociationEntry(Association oldAssociation) voidAbstractSchemaRegistry.deleteAssociations(String resourceId, String resourceType, List<String> associationTypes, boolean cascadeLifecycle, boolean dryRun) default voidSchemaRegistry.deleteAssociations(String resourceId, String resourceType, List<String> associationTypes, boolean cascadeLifecycle) voidKafkaSchemaRegistry.deleteAssociationsOrForward(String subject, String resourceId, String resourceType, List<String> associationTypes, boolean cascadeLifecycle, boolean dryRun, Map<String, String> headerProperties) default voidSchemaRegistry.deleteAssociationsOrForward(String subject, String resourceId, String resourceType, List<String> associationTypes, boolean cascadeLifecycle, boolean dryRun, Map<String, String> headerProperties) voidKafkaSchemaRegistry.deleteContext(String delimitedContext) voidSchemaRegistry.deleteContext(String delimitedContext) voidKafkaSchemaRegistry.deleteContextOrForward(Map<String, String> requestProperties, String delimitedContext) default voidSchemaRegistry.deleteContextOrForward(Map<String, String> requestProperties, String delimitedContext) intKafkaSchemaRegistry.deleteSchemaVersion(String subject, int version, boolean permanentDelete) intSchemaRegistry.deleteSchemaVersion(String subject, int version, boolean permanentDelete) intKafkaSchemaRegistry.deleteSchemaVersionOrForward(Map<String, String> requestProperties, String subject, int version, boolean permanentDelete) default intSchemaRegistry.deleteSchemaVersionOrForward(Map<String, String> requestProperties, String subject, int version, boolean permanentDelete) KafkaSchemaRegistry.deleteSubject(String subject, boolean permanentDelete) SchemaRegistry.deleteSubject(String subject, boolean permanentDelete) KafkaSchemaRegistry.deleteSubjectOrForward(Map<String, String> requestProperties, String subject, boolean permanentDelete) SchemaRegistry.deleteSubjectOrForward(Map<String, String> requestProperties, String subject, boolean permanentDelete) voidAbstractSchemaRegistry.extractSchemaTags(Schema schema, List<String> tags) voidSchemaRegistry.extractSchemaTags(Schema schema, List<String> tags) AbstractSchemaRegistry.getAllSchemaKeysDescending(String subject) AbstractSchemaRegistry.getAllVersions(String subject, LookupFilter filter) SchemaRegistry.getAllVersions(String subject, LookupFilter filter) AbstractSchemaRegistry.getAssociationByGuid(String guid) default AssociationSchemaRegistry.getAssociationByGuid(String guid) AbstractSchemaRegistry.getAssociationsByResourceId(String resourceId, String resourceType, List<String> associationTypes, LifecyclePolicy lifecycle) default List<Association>SchemaRegistry.getAssociationsByResourceId(String resourceId, String resourceType, List<String> associationTypes, LifecyclePolicy lifecycle) AbstractSchemaRegistry.getAssociationsByResourceName(String resourceName, String resourceNamespace, String resourceType, List<String> associationTypes, LifecyclePolicy lifecycle) default List<Association>SchemaRegistry.getAssociationsByResourceName(String resourceName, String resourceNamespace, String resourceType, List<String> associationTypes, LifecyclePolicy lifecycle) AbstractSchemaRegistry.getAssociationsByResourceNamespace(String resourceNamespace, String resourceType, List<String> associationTypes, LifecyclePolicy lifecycle) default List<Association>SchemaRegistry.getAssociationsByResourceNamespace(String resourceNamespace, String resourceType, List<String> associationTypes, LifecyclePolicy lifecycle) AbstractSchemaRegistry.getAssociationsBySubject(String subject, String resourceType, List<String> associationTypes, LifecyclePolicy lifecycle) default List<Association>SchemaRegistry.getAssociationsBySubject(String subject, String resourceType, List<String> associationTypes, LifecyclePolicy lifecycle) static io.confluent.rest.NamedURIAbstractSchemaRegistry.getInterInstanceListener(List<io.confluent.rest.NamedURI> listeners, String interInstanceListenerName, String requestedScheme) This method returns a listener to be used for inter-instance communication.AbstractSchemaRegistry.getLatestVersion(String subject) SchemaRegistry.getLatestVersion(String subject) AbstractSchemaRegistry.getLatestWithMetadata(String subject, Map<String, String> metadata, boolean lookupDeletedSchema) SchemaRegistry.getLatestWithMetadata(String subject, Map<String, String> metadata, boolean lookupDeletedSchema) AbstractSchemaRegistry.getReferencedBy(SchemaKey key, boolean lookupDeletedSchema) AbstractSchemaRegistry.getReferencedBy(String subject, VersionId versionId, boolean lookupDeletedSchema) SchemaRegistry.getReferencedBy(String subject, VersionId versionId, boolean lookupDeletedSchema) AbstractSchemaRegistry.getReferencedBySubjects(SchemaKey key, boolean lookupDeletedSchema) Returns the set of subjects that have at least one schema version referencing the given key.AbstractSchemaRegistry.getSchemaValue(SchemaKey key) SchemaRegistry.getSchemaValue(SchemaKey key) AbstractSchemaRegistry.getUsingContexts(String subject, int version, boolean returnDeletedSchema) SchemaRegistry.getUsingContexts(String subject, int version, boolean returnDeletedSchema) AbstractSchemaRegistry.getVersionsWithSubjectPrefix(String prefix, boolean includeAliases, LookupFilter filter, boolean returnLatestOnly, Predicate<Schema> postFilter) SchemaRegistry.getVersionsWithSubjectPrefix(String prefix, boolean includeAliases, LookupFilter filter, boolean latestOnly, Predicate<Schema> postFilter) voidKafkaSchemaRegistry.init()voidSchemaRegistry.init()AbstractSchemaRegistry.isCompatible(String subject, Schema newSchema, List<SchemaKey> previousSchemas, boolean normalize) SchemaRegistry.isCompatible(String subject, Schema newSchema, List<SchemaKey> previousSchemas, boolean normalize) protected booleanAbstractSchemaRegistry.isSubjectReferenced(String subject) Whether any version of the subject is a reference target of another schema, counting soft- deleted versions and referrers since a soft delete can be restored.protected booleanAbstractSchemaRegistry.isSubjectVersionDeleted(String subject, int version) protected KafkaStore<SchemaRegistryKey,SchemaRegistryValue> KafkaSchemaRegistry.kafkaStore(SchemaRegistryConfig config) AbstractSchemaRegistry.listContexts()SchemaRegistry.listContexts()AbstractSchemaRegistry.listIdsForGuid(String guid) SchemaRegistry.listIdsForGuid(String guid) AbstractSchemaRegistry.listSubjects(LookupFilter filter) SchemaRegistry.listSubjects()SchemaRegistry.listSubjects(LookupFilter filter) AbstractSchemaRegistry.listSubjectsForId(int id, String subject) AbstractSchemaRegistry.listSubjectsForId(int id, String subject, boolean returnDeleted) SchemaRegistry.listSubjectsForId(int id, String subject) SchemaRegistry.listSubjectsForId(int id, String subject, boolean returnDeleted) AbstractSchemaRegistry.listSubjectsWithPrefix(String prefix, LookupFilter filter) SchemaRegistry.listSubjectsWithPrefix(String prefix, LookupFilter filter) AbstractSchemaRegistry.listVersionsForId(int id, String subject) AbstractSchemaRegistry.listVersionsForId(int id, String subject, boolean lookupDeleted) SchemaRegistry.listVersionsForId(int id, String subject, boolean lookupDeleted) protected SchemaAbstractSchemaRegistry.lookUpSchemaUnderSubject(Config config, String subject, Schema schema, boolean normalize, boolean lookupDeletedSchema, boolean lookupLatestOnly) AbstractSchemaRegistry.lookUpSchemaUnderSubject(String subject, Schema schema, boolean normalize, boolean lookupDeletedSchema) Checks if given schema was ever registered under a subject.default SchemaSchemaRegistry.lookUpSchemaUnderSubject(String subject, Schema schema, boolean lookupDeletedSchema) SchemaRegistry.lookUpSchemaUnderSubject(String subject, Schema schema, boolean normalize, boolean lookupDeletedSchema) AbstractSchemaRegistry.lookUpSchemaUnderSubjectUsingContexts(String subject, Schema schema, boolean normalize, boolean lookupDeletedSchema) SchemaRegistry.lookUpSchemaUnderSubjectUsingContexts(String subject, Schema schema, boolean normalize, boolean lookupDeletedSchema) protected booleanAbstractSchemaRegistry.maybePopulateFromPrevious(Config config, Schema schema, List<ParsedSchemaHolder> undeletedVersions, int newVersion, boolean propagateSchemaTags) AbstractSchemaRegistry.modifySchemaTags(String subject, Schema schema, TagSchemaRequest request) KafkaSchemaRegistry.modifySchemaTagsOrForward(String subject, Schema schema, TagSchemaRequest request, Map<String, String> headerProperties) default SchemaSchemaRegistry.modifySchemaTagsOrForward(String subject, Schema schema, TagSchemaRequest request, Map<String, String> headerProperties) default AssociationBatchResponseSchemaRegistry.mutateAssociations(String context, boolean dryRun, AssociationBatchRequest request) KafkaSchemaRegistry.mutateAssociationsOrForward(String context, boolean dryRun, AssociationBatchRequest request, Map<String, String> headerProperties) default AssociationBatchResponseSchemaRegistry.mutateAssociationsOrForward(String context, boolean dryRun, AssociationBatchRequest request, Map<String, String> headerProperties) voidKafkaSchemaRegistry.postInit()voidSchemaRegistry.postInit()protected voidAbstractSchemaRegistry.putAssociation(AssociationValue associationValue) protected voidKafkaSchemaRegistry.putAssociation(AssociationValue associationValue) AbstractSchemaRegistry.register(String subject, RegisterSchemaRequest request, boolean normalize) AbstractSchemaRegistry.register(String subject, RegisterSchemaRequest request, boolean normalize, boolean force) KafkaSchemaRegistry.register(String subject, Schema schema, boolean normalize, boolean force, boolean propagateSchemaTags) Register the given schema under the given subject.default SchemaSchemaRegistry.register(String subject, RegisterSchemaRequest request, boolean normalize) Registers what a request asks for, rather than a schema already extracted from it.default Schemadefault Schemadefault SchemaSchemaRegistry.register(String subject, Schema schema, boolean normalize, boolean propagateSchemaTags) SchemaRegistry.register(String subject, Schema schema, boolean normalize, boolean force, boolean propagateSchemaTags) KafkaSchemaRegistry.registerOrForward(String subject, RegisterSchemaRequest request, boolean normalize, boolean force, Map<String, String> headerProperties) default SchemaSchemaRegistry.registerOrForward(String subject, RegisterSchemaRequest request, boolean normalize, boolean force, Map<String, String> headerProperties) default SchemaSchemaRegistry.registerOrForward(String subject, RegisterSchemaRequest request, boolean normalize, Map<String, String> headerProperties) LazyParsedSchemaHolder.schemaValue()SchemaValueHolder.schemaValue()Returns the schema value.booleanAbstractSchemaRegistry.schemaVersionExists(String subject, VersionId versionId, boolean returnDeletedSchema) booleanSchemaRegistry.schemaVersionExists(String subject, VersionId versionId, boolean returnDeletedSchema) voidAbstractSchemaRegistry.setMode(String subject, ModeUpdateRequest mode) voidKafkaSchemaRegistry.setMode(String subject, ModeUpdateRequest request, boolean force) voidSchemaRegistry.setMode(String subject, ModeUpdateRequest mode) voidSchemaRegistry.setMode(String subject, ModeUpdateRequest request, boolean force) voidKafkaSchemaRegistry.setModeOrForward(String subject, ModeUpdateRequest mode, boolean force, Map<String, String> headerProperties) default voidSchemaRegistry.setModeOrForward(String subject, ModeUpdateRequest mode, boolean force, Map<String, String> headerProperties) protected SchemaAbstractSchemaRegistry.toSchemaWithTags(String subject, RegisterSchemaRequest request) Converts a request to the schema it asks to be registered, applying any schema tags that the request adds or removes.protected SchemaAbstractSchemaRegistry.validateDeleteSchemaVersion(String subject, int version, boolean permanentDelete) protected voidAbstractSchemaRegistry.validateReferencesNotStronglyAssociated(String subject, Schema schema) A schema reference and a STRONG (topic-owned) association are mutually exclusive: a subject claimed by its topic cannot be a reference target.Constructors in io.confluent.kafka.schemaregistry.storage that throw SchemaRegistryExceptionModifierConstructorDescriptionprotectedAbstractSchemaRegistry(SchemaRegistryConfig config, MetricsContainer metricsContainer) Constructs an AbstractSchemaRegistry with the given configuration.KafkaSchemaRegistry(SchemaRegistryConfig config, Serializer<SchemaRegistryKey, SchemaRegistryValue> serializer) KafkaStore(SchemaRegistryConfig config, StoreUpdateHandler<K, V> storeUpdateHandler, Serializer<K, V> serializer, Store<K, V> localStore, K noopKey)