@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() |
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 setRequestTimeoutMS(long requestTimeoutMS)
public AsyncSinkWriterConfiguration.AsyncSinkWriterConfigurationBuilder setFailOnTimeout(boolean failOnTimeout)
public AsyncSinkWriterConfiguration.AsyncSinkWriterConfigurationBuilder setRateLimitingStrategy(RateLimitingStrategy rateLimitingStrategy)
public AsyncSinkWriterConfiguration build()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.