Uses of Class
org.springframework.kafka.retrytopic.RetryTopicComponentFactory
Packages that use RetryTopicComponentFactory
-
Uses of RetryTopicComponentFactory in org.springframework.kafka.retrytopic
Methods in org.springframework.kafka.retrytopic that return RetryTopicComponentFactoryModifier and TypeMethodDescriptionprotected RetryTopicComponentFactoryRetryTopicConfigurationSupport.createComponentFactory()Override this method to provide a subclass ofRetryTopicComponentFactorywith different component implementations or subclasses.Method parameters in org.springframework.kafka.retrytopic with type arguments of type RetryTopicComponentFactoryModifier and TypeMethodDescriptionRetryTopicConfigurationSupport.destinationTopicResolver(ObjectProvider<RetryTopicComponentFactory> componentFactoryProvider) Return a globalDestinationTopicResolverfor resolving theDestinationTopicto which a givenConsumerRecordshould be sent for retry.RetryTopicConfigurationSupport.kafkaConsumerBackoffManager(ApplicationContext applicationContext, ListenerContainerRegistry registry, ObjectProvider<RetryTopicComponentFactory> componentFactoryProvider, RetryTopicSchedulerWrapper wrapper, TaskScheduler taskScheduler) Create theKafkaConsumerBackoffManagerinstance that will be used to back off partitions.RetryTopicConfigurationSupport.retryTopicConfigurer(KafkaConsumerBackoffManager kafkaConsumerBackoffManager, DestinationTopicResolver destinationTopicResolver, ObjectProvider<RetryTopicComponentFactory> componentFactoryProvider, BeanFactory beanFactory) Return a globalRetryTopicConfigurerfor configuring retry topics forKafkaListenerEndpointinstances with a correspondingRetryTopicConfiguration.