public static void validateValue(String field, Schema schema, Object value) {
        validateValue(schema, value, field == null ? "value" : "field: \"" + field + "\"");
    }
Validate that the value can be used with the schema, i.e. that its type matches the schema type and nullability
requirements. Throws a {@link DataException} if the value is invalid.
@param schema Schema to test
@param value value to test
connect/api/src/main/java/org/apache/kafka/connect/data/ConnectSchema.java