@Override
    public boolean isResend() {
        return !needRspEvent
                && enableRetryAfterFailure
                && (maxRetries < 0 || ++retries <= maxRetries);
    }
Constructor
@param uid   the inlong id
@param inlongGroupId   the group id
@param inlongStreamId  the stream id
@param dispatchTime    the received time
inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/sink/mq/SimplePackProfile.java