Class DestinationLicenseValidator
java.lang.Object
io.confluent.kafka.schemaregistry.validator.licensing.DestinationLicenseValidator
Validator for destination Schema Registry license enforcement.
This class validates destination Schema Registry instances to ensure they don't have CP_FOR_CC privilege levels when used for schema validation. CP_FOR_CC (Confluent Platform for Confluent Cloud) licenses are not permitted for destination Schema Registry validation use cases.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classResult of destination license validation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidateDestination(io.confluent.kafka.schemaregistry.client.SchemaRegistryClient client) Validates the destination Schema Registry client against license restrictions.
-
Constructor Details
-
DestinationLicenseValidator
public DestinationLicenseValidator()
-
-
Method Details
-
validateDestination
public static DestinationLicenseValidator.ValidationResult validateDestination(io.confluent.kafka.schemaregistry.client.SchemaRegistryClient client) Validates the destination Schema Registry client against license restrictions.- Parameters:
client- The SchemaRegistryClient to validate- Returns:
- ValidationResult indicating whether the destination is allowed for validation
-