@Override
    public long indexValue() {
        return offset;
    }
Create a TimestampOffset with the provided parameters.

@param timestamp The max timestamp before the given offset.
@param offset The message offset.
storage/src/main/java/org/apache/kafka/storage/internals/log/TimestampOffset.java