private int inCalcBufferResult(int capacity, String brokerConfInfo,
            List<String> topicConfInfoLst) {
        final ByteBuffer buffer = ByteBuffer.allocate(capacity);
        buffer.put(StringUtils.getBytesUtf8(brokerConfInfo));
        for (String itemStr : topicConfInfoLst) {
            byte[] itemData = StringUtils.getBytesUtf8(itemStr);
            if (itemData.length > buffer.remaining()) {
                return -1;
            }
            buffer.put(itemData);
        }
        return CheckSum.crc32(buffer.array());
    }
Calculate the sync-data's crc32 value

@param brokerConfInfo  broker default config
@param topicConfInfoMap topic config set

@return the crc32 value
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/nodemanage/nodebroker/BrokerSyncData.java