Package org.apache.pulsar.client.api
Interface DeadLetterProducerBuilderCustomizer
public interface DeadLetterProducerBuilderCustomizer
Functional interface for customizing a producer builder for a specific topic.
This interface allows for customizing the producer builder configuration for either the retry letter topic or the dead letter topic. The customization might include setting producer properties such as batching, timeouts, or any other producer-specific configuration.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customize
(DeadLetterProducerBuilderContext context, ProducerBuilder<byte[]> producerBuilder) Customize the given producer builder with settings specific to the topic context provided.
-
Method Details
-
customize
Customize the given producer builder with settings specific to the topic context provided.- Parameters:
context
- the context containing information about the input topic and the subscriptionproducerBuilder
- the producer builder instance to be customized
-