protected function addConsumer(ArrayNodeDefinition $node)
    {
        $consumerChildren = $node
            ->children()
                ->arrayNode('consumer')
                ->addDefaultsIfNotSet()
                    ->children();

        $general = $consumerChildren
                        ->arrayNode('general');
        $this->addGeneralConsumerConfiguration($general);

        $individualPrototype = $consumerChildren
                        ->arrayNode('individual')
                            ->useAttributeAsKey('consumer')
                            ->prototype('array');
        $this->addIndividualConsumerConfiguration($individualPrototype);
    }