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