private boolean validBoundParameters(ConsumerInfo inConsumer,
            StringBuilder strBuff, ProcessResult result) {
        if (consumeType != ConsumeType.CONSUME_BAND) {
            result.setSuccResult("");
            return true;
        }
        // If the sessionKey is inconsistent, it means that the previous round of consumption has not completely
        // exited. In order to avoid the incomplete offset setting, it is necessary to completely clear the above
        // data before resetting and consuming this round of consumption
        if (!sessionKey.equals(inConsumer.getSessionKey())) {
            strBuff.append("[Inconsistency subscribe] ").append(inConsumer.getConsumerId())
                    .append("'s sessionKey is inconsistency with other consumers in the group, required is ")
                    .append(sessionKey).append(", request is ").append(inConsumer.getSessionKey());
            result.setFailResult(
                    TErrCodeConstants.CLIENT_INCONSISTENT_SESSIONKEY, strBuff.toString());
            logger.warn(strBuff.toString());
            return false;
        }
        // check the offset config
        if (isSelectedBig != inConsumer.isSelectedBig()) {
            strBuff.append("[Inconsistency subscribe] ").append(inConsumer.getConsumerId())
                    .append("'s isSelectBig is inconsistency with other consumers in the group, required is ")
                    .append(isSelectedBig).append(", request is ").append(inConsumer.isSelectedBig());
            result.setFailResult(
                    TErrCodeConstants.CLIENT_INCONSISTENT_SELECTBIG, strBuff.toString());
            logger.warn(strBuff.toString());
            return false;
        }
        // check the consumers count
        if (sourceCount != inConsumer.getSourceCount()) {
            strBuff.append("[Inconsistency subscribe] ").append(inConsumer.getConsumerId())
                    .append("'s sourceCount is inconsistency with other consumers in the group, required is ")
                    .append(sourceCount).append(", request is ").append(inConsumer.getSourceCount());
            result.setFailResult(
                    TErrCodeConstants.CLIENT_INCONSISTENT_SOURCECOUNT, strBuff.toString());
            logger.warn(strBuff.toString());
            return false;
        }
        result.setSuccResult("Ok");
        return true;
    }
Check the validity of bound consumer's parameters

@param inConsumer consumer info
@param strBuff string buffer
@param result process result
@return true if valid, or false if invalid
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/nodemanage/nodeconsumer/ConsumeGroupInfo.java