Class LicenseDeserializer
java.lang.Object
io.confluent.kafka.schemaregistry.validator.licensing.LicenseDeserializer
Utility class for serializing and parsing license attributes.
Handles conversion between LicenseInfo objects and string attribute representations.
Uses LocalV1License entities to prevent orphaned license attributes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<LocalV1License> deserializeDeploymentAttributes(Set<String> attributes) Parses LocalV1License entities from attribute strings.static booleanisV1LicenseAttribute(String attribute) Checks if an attribute string is a V1License format.
-
Constructor Details
-
LicenseDeserializer
public LicenseDeserializer()
-
-
Method Details
-
deserializeDeploymentAttributes
Parses LocalV1License entities from attribute strings. Filters the provided attributes to only include V1License format strings.- Parameters:
attributes- Set of attribute strings to parse- Returns:
- List of LocalV1License entities parsed from the attributes
-
isV1LicenseAttribute
Checks if an attribute string is a V1License format.- Parameters:
attribute- The attribute string to check- Returns:
- true if the attribute is a V1License format, false otherwise
-