Uses of Class
org.springframework.batch.item.kafka.builder.KafkaItemWriterBuilder
Package
Description
Builders for Apache Kafka item reader and writer.
-
Uses of KafkaItemWriterBuilder in org.springframework.batch.item.kafka.builder
Modifier and TypeMethodDescriptionKafkaItemWriterBuilder.delete
(boolean delete) Indicate if the items being passed to the writer are all to be sent as delete events to the topic.KafkaItemWriterBuilder.itemKeyMapper
(org.springframework.core.convert.converter.Converter<V, K> itemKeyMapper) Set theConverter
to use to derive the key from the item.KafkaItemWriterBuilder.kafkaTemplate
(org.springframework.kafka.core.KafkaTemplate<K, V> kafkaTemplate) Establish the KafkaTemplate to be used by the KafkaItemWriter.KafkaItemWriterBuilder.timeout
(long timeout) The time limit to wait when flushing items to Kafka.