Package org.springframework.cloud.task.batch.autoconfigure.kafka

# Class KafkaItemReaderAutoConfiguration

java.lang.Object
org.springframework.cloud.task.batch.autoconfigure.kafka.KafkaItemReaderAutoConfiguration

@Configuration(proxyBeanMethods=false) @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

  Constructors
  Constructor
  Description
  `KafkaItemReaderAutoConfiguration()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `org.springframework.batch.item.kafka.KafkaItemReader<Object,Map<String,Object>>`
  `kafkaItemReader(KafkaItemReaderProperties kafkaItemReaderProperties)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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,Object>> kafkaItemReader(KafkaItemReaderProperties kafkaItemReaderProperties)