Package org.apache.flink.fs.gs
Class GSFileSystemOptions
java.lang.Object
org.apache.flink.fs.gs.GSFileSystemOptions
The GS file system options.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.flink.configuration.ConfigOption<Boolean>static final org.apache.flink.configuration.ConfigOption<Integer>Flink config option to set the http connection timeout.static final org.apache.flink.configuration.ConfigOption<Integer>Flink config option to set the http read timeout.static final org.apache.flink.configuration.ConfigOption<Duration>static final org.apache.flink.configuration.ConfigOption<Integer>Flink config option to set the http read timeout.static final org.apache.flink.configuration.ConfigOption<Duration>static final org.apache.flink.configuration.ConfigOption<Double>static final org.apache.flink.configuration.ConfigOption<Duration>static final org.apache.flink.configuration.ConfigOption<org.apache.flink.configuration.MemorySize>static final org.apache.flink.configuration.ConfigOption<String> -
Constructor Summary
ConstructorsConstructorDescriptionGSFileSystemOptions(org.apache.flink.configuration.Configuration flinkConfig) Constructs an options instance. -
Method Summary
Modifier and TypeMethodDescriptionTimeout in millisecond to establish the connection.Timeout in millisecond to read content from connection.Optional<org.threeten.bp.Duration>Optional<org.threeten.bp.Duration>Optional<org.threeten.bp.Duration>Optional<org.apache.flink.configuration.MemorySize>The chunk size to use for writes on the underlying Google WriteChannel.The temporary bucket name to use for recoverable writes, if different from the final bucket name.Whether entropy insertion is enabled in filesink path.toString()
-
Field Details
-
WRITER_TEMPORARY_BUCKET_NAME
public static final org.apache.flink.configuration.ConfigOption<String> WRITER_TEMPORARY_BUCKET_NAME -
WRITER_CHUNK_SIZE
public static final org.apache.flink.configuration.ConfigOption<org.apache.flink.configuration.MemorySize> WRITER_CHUNK_SIZE -
ENABLE_FILESINK_ENTROPY
-
GCS_HTTP_CONNECT_TIMEOUT
Flink config option to set the http connection timeout. It will be used by cloud-storage library. -
GCS_HTTP_READ_TIMEOUT
Flink config option to set the http read timeout. It will be used by cloud-storage library. -
GCS_RETRY_MAX_ATTEMPT
Flink config option to set the http read timeout. It will be used by cloud-storage library. -
GCS_RETRY_INIT_RPC_TIMEOUT
public static final org.apache.flink.configuration.ConfigOption<Duration> GCS_RETRY_INIT_RPC_TIMEOUT -
GCS_RETRY_RPC_TIMEOUT_MULTIPLIER
public static final org.apache.flink.configuration.ConfigOption<Double> GCS_RETRY_RPC_TIMEOUT_MULTIPLIER -
GCS_RETRY_MAX_RPC_TIMEOUT
-
GCS_RETRY_TOTAL_TIMEOUT
-
-
Constructor Details
-
GSFileSystemOptions
public GSFileSystemOptions(org.apache.flink.configuration.Configuration flinkConfig) Constructs an options instance.- Parameters:
flinkConfig- The Flink configuration
-
-
Method Details
-
getWriterTemporaryBucketName
The temporary bucket name to use for recoverable writes, if different from the final bucket name. -
getHTTPConnectionTimeout
Timeout in millisecond to establish the connection. -
getHTTPReadTimeout
Timeout in millisecond to read content from connection. -
getMaxAttempts
-
getInitialRpcTimeout
-
getRpcTimeoutMultiplier
-
getMaxRpcTimeout
-
getTotalTimeout
-
getWriterChunkSize
The chunk size to use for writes on the underlying Google WriteChannel. -
isFileSinkEntropyEnabled
Whether entropy insertion is enabled in filesink path. -
toString
-