Interface PulsarReaderConfigurer
public interface PulsarReaderConfigurer
Optional interface to be implemented by Spring managed bean willing to customize how
Pulsar listener endpoints are configured. Typically used to define the default
PulsarListenerContainerFactory
to use or for registering Pulsar endpoints in a
programmatic fashion as opposed to the declarative approach of using
the PulsarListener
annotation.- Author:
- Soby Chacko
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Callback allowing aPulsarListenerEndpointRegistry
and specificPulsarListenerEndpoint
instances to be registered against the givenPulsarListenerEndpointRegistrar
.
-
Method Details
-
configurePulsarReaders
Callback allowing aPulsarListenerEndpointRegistry
and specificPulsarListenerEndpoint
instances to be registered against the givenPulsarListenerEndpointRegistrar
. The defaultPulsarListenerContainerFactory
can also be customized.- Parameters:
registrar
- the registrar to be configured
-