class ConsumerConfigContainer {

    /**
     * ConsumerConfig 缓存
     */
    private final ConcurrentMap<Binding, ConsumerConfig> consumerConfigMap = new ConcurrentHashMap<>();

    /**
     * 增加 ConsumerConfig
     *
     * @param binding        the {@link Binding}
     * @param consumerConfig consumerConfigs
     */
    public void addConsumerConfig(Binding binding, ConsumerConfig consumerConfig) {
        if (binding != null) {
            consumerConfigMap.put(binding, consumerConfig);
        }
    }

    /**
     * 移除对应的 ConsumerConfig，并进行unRefer。
     *
     * @param binding the {@link Binding}
     */
    public void removeAndUnReferConsumerConfig(Binding binding) {<FILL_FUNCTION_BODY>}

    public ConcurrentMap<Binding, ConsumerConfig> getConsumerConfigMap() {
        return consumerConfigMap;
    }
}

        if (binding != null) {
            ConsumerConfig consumerConfig = consumerConfigMap.remove(binding);
            if (consumerConfig != null) {
                consumerConfig.unRefer();
            }
        }
    
<no_super_class>