Annotation Interface KafkaListeners
@Target({TYPE,METHOD,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Documented
public @interface KafkaListeners
Container annotation that aggregates several
KafkaListener annotations.
Can be used natively, declaring several nested KafkaListener annotations.
Can also be used in conjunction with Java 8's support for repeatable annotations,
where KafkaListener can simply be declared several times on the same method
(or class), implicitly generating this container annotation.
- See Also:
-
Required Element Summary
Required Elements
-
Element Details
-
value
KafkaListener[] value
-