Interface PulsarReaderReaderBuilderCustomizer<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 PulsarReaderReaderBuilderCustomizer<T>
Callback interface that can be implemented by a bean to customize the ReaderBuilder that is used to create the underlying Pulsar reader used by a @PulsarReader to receive messages.

Unlike the ReaderBuilderCustomizer which is applied to all created reader builders, this customizer is only applied to the individual reader builder(s) of the @PulsarReader(s) it is associated with.

Author:
Chris Bono
  • Method Summary

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

    • customize

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