Class DestinationTopicPropertiesFactory


  • public class DestinationTopicPropertiesFactory
    extends java.lang.Object
    Creates a list of DestinationTopic.Properties based on the provided configurations.
    Since:
    2.7
    • Constructor Detail

      • DestinationTopicPropertiesFactory

        public DestinationTopicPropertiesFactory​(java.lang.String retryTopicSuffix,
                                                 java.lang.String dltSuffix,
                                                 java.util.List<java.lang.Long> backOffValues,
                                                 org.springframework.classify.BinaryExceptionClassifier exceptionClassifier,
                                                 int numPartitions,
                                                 KafkaOperations<?,​?> kafkaOperations,
                                                 FixedDelayStrategy fixedDelayStrategy,
                                                 DltStrategy dltStrategy,
                                                 TopicSuffixingStrategy topicSuffixingStrategy,
                                                 long timeout)
    • Method Detail

      • autoStartDltHandler

        public DestinationTopicPropertiesFactory autoStartDltHandler​(java.lang.Boolean autoStart)
        Set to false to not start the DLT handler.
        Parameters:
        autoStart - false to not start.
        Returns:
        this factory.
        Since:
        2.8