Class ElasticsearchDataSinkOptions
- java.lang.Object
-
- org.apache.flink.cdc.connectors.elasticsearch.sink.ElasticsearchDataSinkOptions
-
public class ElasticsearchDataSinkOptions extends Object
Options for the Elasticsearch data sink.
-
-
Field Summary
Fields Modifier and Type Field Description static ConfigOption<String>HOSTSThe comma-separated list of Elasticsearch hosts to connect to.static ConfigOption<Integer>MAX_BATCH_SIZEThe maximum number of actions to buffer for each bulk request.static ConfigOption<Long>MAX_BATCH_SIZE_IN_BYTESThe maximum size of batch requests in bytes.static ConfigOption<Integer>MAX_BUFFERED_REQUESTSThe maximum number of requests to keep in the in-memory buffer.static ConfigOption<Integer>MAX_IN_FLIGHT_REQUESTSThe maximum number of concurrent requests that the sink will try to execute.static ConfigOption<Long>MAX_RECORD_SIZE_IN_BYTESThe maximum size of a single record in bytes.static ConfigOption<Long>MAX_TIME_IN_BUFFER_MSThe maximum time to wait for incomplete batches before flushing.static ConfigOption<String>PASSWORDThe password for Elasticsearch authentication.static ConfigOption<String>SHARDING_SUFFIX_KEYThe sharding for Elasticsearch index, default sink table name is test_table_${suffix}.static ConfigOption<String>SHARDING_SUFFIX_SEPARATORThe sharding for Elasticsearch index, default sink table name is test_table_${suffix}.static ConfigOption<String>USERNAMEThe username for Elasticsearch authentication.static ConfigOption<Integer>VERSIONThe version of Elasticsearch to connect to.
-
-
-
Field Detail
-
HOSTS
public static final ConfigOption<String> HOSTS
The comma-separated list of Elasticsearch hosts to connect to.
-
MAX_BATCH_SIZE
public static final ConfigOption<Integer> MAX_BATCH_SIZE
The maximum number of actions to buffer for each bulk request.
-
MAX_IN_FLIGHT_REQUESTS
public static final ConfigOption<Integer> MAX_IN_FLIGHT_REQUESTS
The maximum number of concurrent requests that the sink will try to execute.
-
MAX_BUFFERED_REQUESTS
public static final ConfigOption<Integer> MAX_BUFFERED_REQUESTS
The maximum number of requests to keep in the in-memory buffer.
-
MAX_BATCH_SIZE_IN_BYTES
public static final ConfigOption<Long> MAX_BATCH_SIZE_IN_BYTES
The maximum size of batch requests in bytes.
-
MAX_TIME_IN_BUFFER_MS
public static final ConfigOption<Long> MAX_TIME_IN_BUFFER_MS
The maximum time to wait for incomplete batches before flushing.
-
MAX_RECORD_SIZE_IN_BYTES
public static final ConfigOption<Long> MAX_RECORD_SIZE_IN_BYTES
The maximum size of a single record in bytes.
-
VERSION
public static final ConfigOption<Integer> VERSION
The version of Elasticsearch to connect to.
-
USERNAME
public static final ConfigOption<String> USERNAME
The username for Elasticsearch authentication.
-
PASSWORD
public static final ConfigOption<String> PASSWORD
The password for Elasticsearch authentication.
-
SHARDING_SUFFIX_KEY
public static final ConfigOption<String> SHARDING_SUFFIX_KEY
The sharding for Elasticsearch index, default sink table name is test_table_${suffix}.
-
SHARDING_SUFFIX_SEPARATOR
public static final ConfigOption<String> SHARDING_SUFFIX_SEPARATOR
The sharding for Elasticsearch index, default sink table name is test_table_${suffix}.
-
-