public int hashCode() {
        int result = topic.hashCode();
        result = 31 * result + brokerId;
        result = 31 * result + partitionId;
        result = 31 * result + offset.hashCode();
        result = 31 * result + Long.hashCode(messageId);
        result = 31 * result + Long.hashCode(lstUpdateTime.get());
        result = 31 * result + Long.hashCode(lstRstTerm);
        result = 31 * result + (firstCreate ? 1 : 0);
        result = 31 * result + (modified ? 1 : 0);
        return result;
    }
Initial offset storage information

@param topic          the topic name
@param brokerId       the broker id
@param partitionId    the partition id
@param lstRstTerm     the last reset term
@param offset         the offset
@param messageId      the message id
@param firstCreate    whether is the first record creation
@param lstUpdateTime  the last update time
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/broker/offset/OffsetStorageInfo.java