Class ReactivePulsarListenerEndpointAdapter<T>
java.lang.Object
org.springframework.pulsar.reactive.config.ReactivePulsarListenerEndpointAdapter<T>
- Type Parameters:
T- Message payload type.
- All Implemented Interfaces:
org.springframework.pulsar.config.ListenerEndpoint<ReactivePulsarMessageListenerContainer<T>>,ReactivePulsarListenerEndpoint<T>
public class ReactivePulsarListenerEndpointAdapter<T>
extends Object
implements ReactivePulsarListenerEndpoint<T>
Adapter to avoid having to implement all methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()org.apache.pulsar.common.schema.SchemaTypeorg.apache.pulsar.client.api.SubscriptionTypebooleanvoidsetupListenerContainer(ReactivePulsarMessageListenerContainer<T> listenerContainer, org.springframework.pulsar.support.MessageConverter messageConverter)
-
Constructor Details
-
ReactivePulsarListenerEndpointAdapter
public ReactivePulsarListenerEndpointAdapter()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceorg.springframework.pulsar.config.ListenerEndpoint<T>
-
getSubscriptionName
- Specified by:
getSubscriptionNamein interfaceorg.springframework.pulsar.config.ListenerEndpoint<T>
-
getSubscriptionType
public org.apache.pulsar.client.api.SubscriptionType getSubscriptionType()- Specified by:
getSubscriptionTypein interfaceorg.springframework.pulsar.config.ListenerEndpoint<T>
-
getTopics
- Specified by:
getTopicsin interfaceorg.springframework.pulsar.config.ListenerEndpoint<T>
-
getTopicPattern
- Specified by:
getTopicPatternin interfaceorg.springframework.pulsar.config.ListenerEndpoint<T>
-
getAutoStartup
- Specified by:
getAutoStartupin interfaceorg.springframework.pulsar.config.ListenerEndpoint<T>
-
setupListenerContainer
public void setupListenerContainer(ReactivePulsarMessageListenerContainer<T> listenerContainer, org.springframework.pulsar.support.MessageConverter messageConverter) - Specified by:
setupListenerContainerin interfaceorg.springframework.pulsar.config.ListenerEndpoint<T>
-
getSchemaType
public org.apache.pulsar.common.schema.SchemaType getSchemaType()- Specified by:
getSchemaTypein interfaceorg.springframework.pulsar.config.ListenerEndpoint<T>
-
getConcurrency
- Specified by:
getConcurrencyin interfaceorg.springframework.pulsar.config.ListenerEndpoint<T>
-
isFluxListener
public boolean isFluxListener()- Specified by:
isFluxListenerin interfaceReactivePulsarListenerEndpoint<T>
-
getUseKeyOrderedProcessing
- Specified by:
getUseKeyOrderedProcessingin interfaceReactivePulsarListenerEndpoint<T>
-