クラスの使用
org.springframework.kafka.retrytopic.RetryTopicComponentFactory
org.springframework.kafka.retrytopic 内の RetryTopicComponentFactory 使用
修飾子と型メソッド説明protected RetryTopicComponentFactory
RetryTopicConfigurationSupport.createComponentFactory()
このメソッドをオーバーライドして、RetryTopicComponentFactory
のサブクラスに異なるコンポーネント実装またはサブクラスを提供します。修飾子と型メソッド説明RetryTopicConfigurationSupport.destinationTopicResolver
(ObjectProvider<RetryTopicComponentFactory> componentFactoryProvider) RetryTopicConfigurationSupport.kafkaConsumerBackoffManager
(ApplicationContext applicationContext, ListenerContainerRegistry registry, ObjectProvider<RetryTopicComponentFactory> componentFactoryProvider, RetryTopicSchedulerWrapper wrapper, TaskScheduler taskScheduler) パーティションのバックオフに使用されるKafkaConsumerBackoffManager
インスタンスを作成します。RetryTopicConfigurationSupport.retryTopicConfigurer
(KafkaConsumerBackoffManager kafkaConsumerBackoffManager, DestinationTopicResolver destinationTopicResolver, ObjectProvider<RetryTopicComponentFactory> componentFactoryProvider, BeanFactory beanFactory) 対応するRetryTopicConfiguration
を持つKafkaListenerEndpoint
インスタンスの再試行トピックを構成するためのグローバルRetryTopicConfigurer
を返します。