Package com.linkedin.venice.writer
Class VeniceWriterOptions.Builder
- java.lang.Object
-
- com.linkedin.venice.writer.VeniceWriterOptions.Builder
-
- Enclosing class:
- VeniceWriterOptions
public static class VeniceWriterOptions.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder(java.lang.String topic)
-
Method Summary
-
-
-
Method Detail
-
build
public VeniceWriterOptions build()
-
setBrokerAddress
public VeniceWriterOptions.Builder setBrokerAddress(java.lang.String brokerAddress)
-
setUseKafkaKeySerializer
public VeniceWriterOptions.Builder setUseKafkaKeySerializer(boolean useKafkaKeySerializer)
-
setChunkingEnabled
public VeniceWriterOptions.Builder setChunkingEnabled(boolean chunkingEnabled)
-
setRmdChunkingEnabled
public VeniceWriterOptions.Builder setRmdChunkingEnabled(boolean rmdChunkingEnabled)
-
setKeySerializer
public VeniceWriterOptions.Builder setKeySerializer(VeniceKafkaSerializer keySerializer)
-
setValueSerializer
public VeniceWriterOptions.Builder setValueSerializer(VeniceKafkaSerializer valueSerializer)
-
setWriteComputeSerializer
public VeniceWriterOptions.Builder setWriteComputeSerializer(VeniceKafkaSerializer writeComputeSerializer)
-
setPartitioner
public VeniceWriterOptions.Builder setPartitioner(VenicePartitioner partitioner)
-
setTime
public VeniceWriterOptions.Builder setTime(Time time)
-
setPartitionCount
public VeniceWriterOptions.Builder setPartitionCount(java.lang.Integer partitionCount)
-
setMaxRecordSizeBytes
public VeniceWriterOptions.Builder setMaxRecordSizeBytes(int maxRecordSizeBytes)
-
setProducerCompressionEnabled
public VeniceWriterOptions.Builder setProducerCompressionEnabled(boolean producerCompressionEnabled)
-
setProducerCount
public VeniceWriterOptions.Builder setProducerCount(int producerCount)
-
setProducerThreadCount
public VeniceWriterOptions.Builder setProducerThreadCount(int producerThreadCount)
-
setProducerQueueSize
public VeniceWriterOptions.Builder setProducerQueueSize(int producerQueueSize)
-
-