Interface ProducerBuilderCustomizer<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 ProducerBuilderCustomizer<T>
The interface to customize a ProducerBuilder.
Author:
Chris Bono
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(org.apache.pulsar.client.api.ProducerBuilder<T> producerBuilder)
    Customizes a ProducerBuilder.
  • Method Details

    • customize

      void customize(org.apache.pulsar.client.api.ProducerBuilder<T> producerBuilder)
      Customizes a ProducerBuilder.
      Parameters:
      producerBuilder - the builder to customize