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 Type
    Method
    Description
    void
    customize(DeadLetterProducerBuilderContext context, ProducerBuilder<byte[]> producerBuilder)
    Customize the given producer builder with settings specific to the topic context provided.
  • Method Details

    • customize

      void customize(DeadLetterProducerBuilderContext context, ProducerBuilder<byte[]> producerBuilder)
      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 subscription
      producerBuilder - the producer builder instance to be customized