private static void appendChannels(Map<String, String> flumeConf, String name, Map<String, String> sinkParams) {
        StringBuilder builder = new StringBuilder();
        String channelName = name + "Channel";
        flumeConf.put(name + ".channels", channelName);
        String prefix = builder.append(name).append(".channels.").append(channelName).append(".").toString();
        builder.setLength(0);
        String channelType = builder.append(prefix).append("type").toString();
        String channelClass = sinkParams.getOrDefault(KEY_SORT_CHANNEL_TYPE,
                CommonPropertiesHolder.getString(KEY_SORT_CHANNEL_TYPE));
        flumeConf.put(channelType, channelClass);
        appendCommon(flumeConf, prefix, null, name);
    }
append channels config

@param flumeConf final config of flume
@param name sort task name
@param sinkParams sink params of this task
inlong-sort-standalone/sort-standalone-common/src/main/java/org/apache/inlong/sort/standalone/utils/FlumeConfigGenerator.java