Class SubjectNames
java.lang.Object
io.confluent.kafka.schemaregistry.validator.core.SubjectNames
Subject-name helpers shared by the schema validation core and the Schema Registry client
wrappers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringMirrorsLogConfig.DEFAULT_CONTEXT_NAME_SCHEMA_VALIDATION, duplicated rather than referenced so this package does not depend on the storage module. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringmaybeAddContextName(String subject, String contextName) QualifysubjectwithcontextNameunless the context is absent or is the default context, in which case the subject is returned unchanged.
-
Field Details
-
DEFAULT_CONTEXT_NAME
MirrorsLogConfig.DEFAULT_CONTEXT_NAME_SCHEMA_VALIDATION, duplicated rather than referenced so this package does not depend on the storage module. That constant is the default for the public topic configconfluent.schema.validation.context.name, so it does not change without a breaking config change; if it ever does, grep for this literal.- See Also:
-
-
Method Details
-
maybeAddContextName
-