Annotation Interface KafkaListener


@Target(METHOD) @Retention(RUNTIME) public @interface KafkaListener
Method level annotation used to specify which topic method should be subscribed to by Kafka Consumer.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
     
  • Element Details

    • tag

      Class<?>[] tag
      Returns:
      Русский: Теги Tag для собственной разметки конкретного потребителя а не сгенерированного
      English: Tags Tag for marking kafka listener with custom tag and not generated
      Default:
      {}