@Target(value={TYPE,METHOD,ANNOTATION_TYPE})
@Retention(value=RUNTIME)
@Documented
public @interface KafkaListeners
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.
KafkaListener
Modifier and Type | Required Element and Description |
---|---|
KafkaListener[] |
value |
public abstract KafkaListener[] value