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 Details

    • ReactivePulsarListenerEndpointAdapter

      public ReactivePulsarListenerEndpointAdapter()
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface org.springframework.pulsar.config.ListenerEndpoint<T>
    • getSubscriptionName

      public String getSubscriptionName()
      Specified by:
      getSubscriptionName in interface org.springframework.pulsar.config.ListenerEndpoint<T>
    • getSubscriptionType

      public org.apache.pulsar.client.api.SubscriptionType getSubscriptionType()
      Specified by:
      getSubscriptionType in interface org.springframework.pulsar.config.ListenerEndpoint<T>
    • getTopics

      public List<String> getTopics()
      Specified by:
      getTopics in interface org.springframework.pulsar.config.ListenerEndpoint<T>
    • getTopicPattern

      public String getTopicPattern()
      Specified by:
      getTopicPattern in interface org.springframework.pulsar.config.ListenerEndpoint<T>
    • getAutoStartup

      public Boolean getAutoStartup()
      Specified by:
      getAutoStartup in interface org.springframework.pulsar.config.ListenerEndpoint<T>
    • setupListenerContainer

      public void setupListenerContainer(ReactivePulsarMessageListenerContainer<T> listenerContainer, org.springframework.pulsar.support.MessageConverter messageConverter)
      Specified by:
      setupListenerContainer in interface org.springframework.pulsar.config.ListenerEndpoint<T>
    • getSchemaType

      public org.apache.pulsar.common.schema.SchemaType getSchemaType()
      Specified by:
      getSchemaType in interface org.springframework.pulsar.config.ListenerEndpoint<T>
    • getConcurrency

      @Nullable public Integer getConcurrency()
      Specified by:
      getConcurrency in interface org.springframework.pulsar.config.ListenerEndpoint<T>
    • isFluxListener

      public boolean isFluxListener()
      Specified by:
      isFluxListener in interface ReactivePulsarListenerEndpoint<T>
    • getUseKeyOrderedProcessing

      public Boolean getUseKeyOrderedProcessing()
      Specified by:
      getUseKeyOrderedProcessing in interface ReactivePulsarListenerEndpoint<T>