io.kestra.plugin.serdes.avro.AvroSchemaValidation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin-serdes Show documentation
Show all versions of plugin-serdes Show documentation
Serialize and deserialize data formats in Kestra workflows.
The newest version!
package io.kestra.plugin.serdes.avro;
import jakarta.validation.Constraint;
import jakarta.validation.Payload;
import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy = AvroSchemaValidator.class)
public @interface AvroSchemaValidation {
String message() default "invalid avro schema";
Class>[] groups() default {};
Class extends Payload>[] payload() default {};
}