@Override
    public void updateLatestOffset(long offset) {
        this.lastOffset = offset;
    }
Associate this offset to the given key.
@param key The key
@param offset The offset
storage/src/main/java/org/apache/kafka/storage/internals/log/SkimpyOffsetMap.java