Class KafkaItemReaderAutoConfiguration
java.lang.Object
org.springframework.cloud.task.batch.autoconfigure.kafka.KafkaItemReaderAutoConfiguration
@AutoConfiguration
@EnableConfigurationProperties({org.springframework.boot.autoconfigure.kafka.KafkaProperties.class,KafkaItemReaderProperties.class})
@AutoConfigureAfter(org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration.class)
public class KafkaItemReaderAutoConfiguration
extends Object
AutoConfiguration for a
KafkaItemReader
.- Since:
- 2.3
- Author:
- Glenn Renfro, Michael Minella
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionkafkaItemReader
(KafkaItemReaderProperties kafkaItemReaderProperties)
-
Constructor Details
-
KafkaItemReaderAutoConfiguration
public KafkaItemReaderAutoConfiguration()
-
-
Method Details
-
kafkaItemReader
@Bean @ConditionalOnMissingBean @ConditionalOnProperty(prefix="spring.batch.job.kafkaitemreader", name="name") public org.springframework.batch.item.kafka.KafkaItemReader<Object,Map<String, kafkaItemReaderObject>> (KafkaItemReaderProperties kafkaItemReaderProperties)
-