title: Spring Kafka: Multiple Listeners for different objects within an ApplicationContext
body: <p>Can I please check with the community what is the best way to listen to multiple topics, with each topic containing a message of a different class?</p>
  
  <p>I've been playing around with Spring Kafka for the past couple of days. My thought process so far:</p>
  
  <ul>
  <li><p>Because you need to pass your deserializer into DefaultKafkaConsumerFactory when initializing a KafkaListenerContainerFactory. This seems to indicate that if I need multiple containers each deserializing a message of a different type, I will not be able to use the @EnableKafka and @KafkaListener annotations. </p></li>
  <li><p>This leads me to think that the only way to do so would be to instantiate multiple KafkaMessageListenerContainers. </p></li>
  <li><p>And given that KafkaMessageListenerContainers is single threaded and I need to listen to multiple topics at the same time, I really should be using multiple ConcurrentKafkaMessageListenerContainers. </p></li>
  </ul>
  
  <p>Would I be on the right track here? Is there a better way to do this?</p>
  
  <p>Thanks!</p>