Interface PulsarListenerConsumerBuilderCustomizer<T>
- Type Parameters:
T
- The message payload type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface that can be implemented by a bean to customize the
ConsumerBuilder
that is used to create the underlying Pulsar consumer used by a
PulsarListener
to receive messages.
Unlike the ConsumerBuilderCustomizer
which is applied to all created consumer
builders, this customizer is only applied to the individual consumer builder(s) of the
@PulsarListener(s)
it is associated with.
- Author:
- Chris Bono
-
Method Summary
-
Method Details
-
customize
Customize theConsumerBuilder
.- Parameters:
consumerBuilder
- the builder to customize
-