Package org.springframework.kafka.config
Interface ContainerPostProcessor<K,V,C extends AbstractMessageListenerContainer<K,V>>
- Type Parameters:
K
- the key type.V
- the value type.C
- the container type.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ContainerPostProcessor<K,V,C extends AbstractMessageListenerContainer<K,V>>
Called by the container factory after the container is created and configured. This
post processor is applied on the listener through the
KafkaListener.containerPostProcessor()
attribute.
A ContainerCustomizer
can be used when customization must be applied to all
containers. In that case, this will be applied after the customizer.
- Since:
- 3.1
- Author:
- Francois Rosiere
- See Also:
-
Method Summary
-
Method Details
-
postProcess
Post processes the container.- Parameters:
container
- the container.
-