@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof ConnectorOffset)) {
            return false;
        }
        ConnectorOffset that = (ConnectorOffset) obj;
        return Objects.equals(this.partition, that.partition) &&
                Objects.equals(this.offset, that.offset);
    }
Represents a single {partition, offset} pair for either a sink connector or a source connector. For source connectors,
the partition and offset structures are defined by the connector implementations themselves. For a sink connector,
where offsets represent the underlying Kafka consumer group offsets, this would look something like:
<pre>
    {
      "partition": {
        "kafka_topic": "topic"
        "kafka_partition": 3
      },
      "offset": {
        "kafka_offset": 1000
      }
    }
</pre>
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/entities/ConnectorOffset.java