@PublicEvolving public static class AsyncSinkWriterConfiguration.AsyncSinkWriterConfigurationBuilder extends Object implements AsyncSinkWriterConfiguration.ConfigurationMaxBatchSize, AsyncSinkWriterConfiguration.ConfigurationMaxInFlightRequests, AsyncSinkWriterConfiguration.ConfigurationMaxBufferedRequests, AsyncSinkWriterConfiguration.ConfigurationMaxBatchSizeInBytes, AsyncSinkWriterConfiguration.ConfigurationMaxTimeInBufferMS, AsyncSinkWriterConfiguration.ConfigurationMaxRecordSizeInBytes
AsyncSinkWriterConfiguration
.Constructor and Description |
---|
AsyncSinkWriterConfigurationBuilder() |
Modifier and Type | Method and Description |
---|---|
AsyncSinkWriterConfiguration |
build() |
AsyncSinkWriterConfiguration.ConfigurationMaxBatchSizeInBytes |
setMaxBatchSize(int maxBatchSize) |
AsyncSinkWriterConfiguration.ConfigurationMaxInFlightRequests |
setMaxBatchSizeInBytes(long maxBatchSizeInBytes) |
AsyncSinkWriterConfiguration.ConfigurationMaxTimeInBufferMS |
setMaxBufferedRequests(int maxBufferedRequests) |
AsyncSinkWriterConfiguration.ConfigurationMaxBufferedRequests |
setMaxInFlightRequests(int maxInFlightRequests) |
AsyncSinkWriterConfiguration.AsyncSinkWriterConfigurationBuilder |
setMaxRecordSizeInBytes(long maxRecordSizeInBytes) |
AsyncSinkWriterConfiguration.ConfigurationMaxRecordSizeInBytes |
setMaxTimeInBufferMS(long maxTimeInBufferMS) |
AsyncSinkWriterConfiguration.AsyncSinkWriterConfigurationBuilder |
setRateLimitingStrategy(RateLimitingStrategy rateLimitingStrategy) |
public AsyncSinkWriterConfiguration.ConfigurationMaxBatchSizeInBytes setMaxBatchSize(int maxBatchSize)
setMaxBatchSize
in interface AsyncSinkWriterConfiguration.ConfigurationMaxBatchSize
public AsyncSinkWriterConfiguration.ConfigurationMaxInFlightRequests setMaxBatchSizeInBytes(long maxBatchSizeInBytes)
setMaxBatchSizeInBytes
in interface AsyncSinkWriterConfiguration.ConfigurationMaxBatchSizeInBytes
public AsyncSinkWriterConfiguration.ConfigurationMaxBufferedRequests setMaxInFlightRequests(int maxInFlightRequests)
setMaxInFlightRequests
in interface AsyncSinkWriterConfiguration.ConfigurationMaxInFlightRequests
public AsyncSinkWriterConfiguration.ConfigurationMaxTimeInBufferMS setMaxBufferedRequests(int maxBufferedRequests)
setMaxBufferedRequests
in interface AsyncSinkWriterConfiguration.ConfigurationMaxBufferedRequests
public AsyncSinkWriterConfiguration.ConfigurationMaxRecordSizeInBytes setMaxTimeInBufferMS(long maxTimeInBufferMS)
setMaxTimeInBufferMS
in interface AsyncSinkWriterConfiguration.ConfigurationMaxTimeInBufferMS
public AsyncSinkWriterConfiguration.AsyncSinkWriterConfigurationBuilder setMaxRecordSizeInBytes(long maxRecordSizeInBytes)
setMaxRecordSizeInBytes
in interface AsyncSinkWriterConfiguration.ConfigurationMaxRecordSizeInBytes
public AsyncSinkWriterConfiguration.AsyncSinkWriterConfigurationBuilder setRateLimitingStrategy(RateLimitingStrategy rateLimitingStrategy)
public AsyncSinkWriterConfiguration build()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.