title: Spring Cloud Kafka BeanDefinitionOverrideException
body: <p>Was trying to disable infinte trys in Kafka when it fails due to a application side expection and was attempting to use ListenerContainerCustomizer along DeadLetterPublishingRecoverer and got stuck with this error</p>
  <pre><code> @Bean
  ListenerContainerCustomizer&lt;AbstractMessageListenerContainer&lt;?, ?&gt;&gt; customizer() {
      return (container, dest, group) -&gt; {
          if (group.equals(&quot;process-group&quot;)) {
              SeekToCurrentErrorHandler errorHandler =
                      new SeekToCurrentErrorHandler((record, exception) -&gt; {
                          // recover after 3 failures, woth no back off - e.g. send to a dead-letter topic
                      }, new FixedBackOff(0L, 2L));
              container.getContainerProperties().setAckMode(ContainerProperties.AckMode.RECORD);
              container.setErrorHandler(errorHandler);
          }
  
      };
  }
  </code></pre>
  <p>Disable retry in the binder and used but after I added this I receive this error</p>
  <pre><code>org.springframework.cloud.stream.binder.BinderException: Exception thrown while starting consumer: 
  at org.springframework.cloud.stream.binder.AbstractMessageChannelBinder.doBindConsumer(AbstractMessageChannelBinder.java:462)
  at org.springframework.cloud.stream.binder.AbstractMessageChannelBinder.doBindConsumer(AbstractMessageChannelBinder.java:91)
  at org.springframework.cloud.stream.binder.AbstractBinder.bindConsumer(AbstractBinder.java:143)
  at org.springframework.cloud.stream.binding.BindingService.lambda$rescheduleConsumerBinding$1(BindingService.java:201)
  at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
  at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
  at java.base/java.lang.Thread.run(Thread.java:834)
  
  Caused by: org.springframework.beans.factory.support.BeanDefinitionOverrideException: Invalid bean definition with name 'internal-process-cohort.process-group.errors.recoverer' defined in null: Cannot register bean definition [Root bean: class [org.springframework.integration.handler.advice.ErrorMessageSendingRecoverer]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] for bean 'internal-process-cohort.process-group.errors.recoverer': There is already [Root bean: class [org.springframework.integration.handler.advice.ErrorMessageSendingRecoverer]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] bound.
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.registerBeanDefinition(DefaultListableBeanFactory.java:995)
      at org.springframework.context.support.GenericApplicationContext.registerBeanDefinition(GenericApplicationContext.java:330)
      at org.springframework.context.support.GenericApplicationContext.registerBean(GenericApplicationContext.java:478)
      at org.springframework.cloud.stream.binder.AbstractMessageChannelBinder.registerErrorInfrastructure(AbstractMessageChannelBinder.java:687)
      at org.springframework.cloud.stream.binder.AbstractMessageChannelBinder.registerErrorInfrastructure(AbstractMessageChannelBinder.java:639)
      at org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder.createConsumerEndpoint(KafkaMessageChannelBinder.java:719)
      at org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder.createConsumerEndpoint(KafkaMessageChannelBinder.java:155)
      at org.springframework.cloud.stream.binder.AbstractMessageChannelBinder.doBindConsumer(AbstractMessageChannelBinder.java:408)
  </code></pre>
  <p>I get bean override error</p>
  <pre><code>    process-in-0:
        destination: process
        consumer:
          batch-mode: true
          concurrency: 10
        group: process-group
  </code></pre>
  <p>This is my binder configuration</p>