# Uses of Class
org.springframework.batch.item.kafka.builder.KafkaItemReaderBuilder

Packages that use KafkaItemReaderBuilder
Package
Description
org.springframework.batch.item.kafka.builder
Builders for Apache Kafka item reader and writer.

- ## Uses of KafkaItemReaderBuilder in org.springframework.batch.item.kafka.builder

  Methods in org.springframework.batch.item.kafka.builder that return KafkaItemReaderBuilder
  Modifier and Type
  Method
  Description
  `KafkaItemReaderBuilder<K,V>`
  KafkaItemReaderBuilder.`consumerProperties(Properties consumerProperties)`
  Configure the underlying consumer properties.
  `KafkaItemReaderBuilder<K,V>`
  KafkaItemReaderBuilder.`name(String name)`
  The name used to calculate the key within the `ExecutionContext`.
  `KafkaItemReaderBuilder<K,V>`
  KafkaItemReaderBuilder.`partitionOffsets(Map<org.apache.kafka.common.TopicPartition,Long> partitionOffsets)`
  Setter for partition offsets.
  `KafkaItemReaderBuilder<K,V>`
  KafkaItemReaderBuilder.`partitions(Integer... partitions)`
  A list of partitions to manually assign to the consumer.
  `KafkaItemReaderBuilder<K,V>`
  KafkaItemReaderBuilder.`partitions(List<Integer> partitions)`
  A list of partitions to manually assign to the consumer.
  `KafkaItemReaderBuilder<K,V>`
  KafkaItemReaderBuilder.`pollTimeout(Duration pollTimeout)`
  Set the pollTimeout for the poll() operations.
  `KafkaItemReaderBuilder<K,V>`
  KafkaItemReaderBuilder.`saveState(boolean saveState)`
  Configure if the state of the `ItemStreamSupport` should be persisted within the `ExecutionContext` for restart purposes.
  `KafkaItemReaderBuilder<K,V>`
  KafkaItemReaderBuilder.`topic(String topic)`
  A topic name to manually assign to the consumer.