@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SchemaAndValue that = (SchemaAndValue) o;
        return Objects.equals(schema, that.schema) &&
                Objects.equals(value, that.value);
    }
A composite containing a {@link Schema} and associated value
connect/api/src/main/java/org/apache/kafka/connect/data/SchemaAndValue.java