Uses of Interface
org.springframework.kafka.retrytopic.DestinationTopicResolver
-
Uses of DestinationTopicResolver in org.springframework.kafka.retrytopic
Modifier and TypeClassDescriptionclass
Default implementation of theDestinationTopicResolver
interface.Modifier and TypeMethodDescriptionRetryTopicComponentFactory.destinationTopicResolver()
Create the instance ofDestinationTopicResolver
that will be used to store theDestinationTopic
instance and resolve which a given record should be forwarded to.RetryTopicConfigurationSupport.destinationTopicResolver
(ObjectProvider<RetryTopicComponentFactory> componentFactoryProvider) Return a globalDestinationTopicResolver
for resolving theDestinationTopic
to which a givenConsumerRecord
should be sent for retry.Modifier and TypeMethodDescriptionprotected Consumer<DestinationTopicResolver>
RetryTopicConfigurationSupport.configureDestinationTopicResolver()
Override this method to configure theDestinationTopicResolver
.Modifier and TypeMethodDescriptionRetryTopicComponentFactory.deadLetterPublishingRecovererFactory
(DestinationTopicResolver destinationTopicResolver) Create theDeadLetterPublishingRecovererFactory
that will be used to create theDeadLetterPublishingRecoverer
to forward the records to a givenDestinationTopic
.RetryTopicComponentFactory.destinationTopicProcessor
(DestinationTopicResolver destinationTopicResolver) Create theDestinationTopicProcessor
that will be used to process theDestinationTopic
instances and store them in the providedDestinationTopicResolver
.RetryTopicConfigurationSupport.retryTopicConfigurer
(KafkaConsumerBackoffManager kafkaConsumerBackoffManager, DestinationTopicResolver destinationTopicResolver, ObjectProvider<RetryTopicComponentFactory> componentFactoryProvider, BeanFactory beanFactory) Return a globalRetryTopicConfigurer
for configuring retry topics forKafkaListenerEndpoint
instances with a correspondingRetryTopicConfiguration
.ModifierConstructorDescriptionDeadLetterPublishingRecovererFactory
(DestinationTopicResolver destinationTopicResolver) DefaultDestinationTopicProcessor
(DestinationTopicResolver destinationTopicResolver)