Annotation Interface KafkaScope
@ScopedProxy
@Documented
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Scope
public @interface KafkaScope
A custom scope that binds a bean to the current Kafka listener invocation.
For listeners in single-record mode the scope is active for one consumed record. For listeners in batch mode the scope is active for the entire batch.
- Since:
- 5.5.0
- Author:
- graemerocher