title: Can multiple KafkaListener classes listen to the same topic?
body: <p>I have kafka topic that contains multiple events (of different types), and I'd like to handle those events in different handler classes within single application. So my question is - can I create two classes(spring components) that consumes same topic, but each of them handles different events (from that same topic)?</p>
  
  <pre><code>@Component
  @KafkaListener(topics = "topicA")
  public class SomeClass {
  
      @KafkaHandler
      public void handleEventA(EventA eventA) {
      }
  }
  
  @Component
  @KafkaListener(topics = "topicA")
  public class AnotherClass {
  
      @KafkaHandler
      public void handleEventB(EventB eventB) {
      }
  
      @KafkaHandler
      public void handleEventC(EventC eventC) {
      }
  }
  </code></pre>