Interface ReactivePulsarListenerMessageConsumerBuilderCustomizer<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.

@FunctionalInterface public interface ReactivePulsarListenerMessageConsumerBuilderCustomizer<T>
Callback interface that can be implemented by a bean to customize the builder that is used to create the underlying Pulsar reactive message consumer used by a ReactivePulsarListener to receive messages.

Unlike the ReactiveMessageConsumerBuilder which is applied to all created reactive message consumer builders, this customizer is only applied to the individual consumer builder(s) of the @ReactivePulsarListener(s) it is associated with.

Author:
Chris Bono
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(org.apache.pulsar.reactive.client.api.ReactiveMessageConsumerBuilder<T> reactiveMessageConsumerBuilder)
    Customize the ReactiveMessageConsumerBuilder.
  • Method Details

    • customize

      void customize(org.apache.pulsar.reactive.client.api.ReactiveMessageConsumerBuilder<T> reactiveMessageConsumerBuilder)
      Customize the ReactiveMessageConsumerBuilder.
      Parameters:
      reactiveMessageConsumerBuilder - the builder to customize