@Internal public class ElasticsearchValidator extends ConnectorDescriptorValidator
Elasticsearch
.CONNECTOR, CONNECTOR_PROPERTY_VERSION, CONNECTOR_TYPE, CONNECTOR_VERSION
Constructor and Description |
---|
ElasticsearchValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(DescriptorProperties properties)
Performs basic validation such as completeness tests.
|
static List<ElasticsearchUpsertTableSinkBase.Host> |
validateAndParseHostsString(DescriptorProperties descriptorProperties)
Parse Hosts String to list.
|
public static final String CONNECTOR_TYPE_VALUE_ELASTICSEARCH
public static final String CONNECTOR_VERSION_VALUE_6
public static final String CONNECTOR_VERSION_VALUE_7
public static final String CONNECTOR_HOSTS
public static final String CONNECTOR_HOSTS_HOSTNAME
public static final String CONNECTOR_HOSTS_PORT
public static final String CONNECTOR_HOSTS_PROTOCOL
public static final String CONNECTOR_INDEX
public static final String CONNECTOR_DOCUMENT_TYPE
public static final String CONNECTOR_KEY_DELIMITER
public static final String CONNECTOR_KEY_NULL_LITERAL
public static final String CONNECTOR_FAILURE_HANDLER
public static final String CONNECTOR_FAILURE_HANDLER_VALUE_FAIL
public static final String CONNECTOR_FAILURE_HANDLER_VALUE_IGNORE
public static final String CONNECTOR_FAILURE_HANDLER_VALUE_RETRY
public static final String CONNECTOR_FAILURE_HANDLER_VALUE_CUSTOM
public static final String CONNECTOR_FAILURE_HANDLER_CLASS
public static final String CONNECTOR_FLUSH_ON_CHECKPOINT
public static final String CONNECTOR_BULK_FLUSH_MAX_ACTIONS
public static final String CONNECTOR_BULK_FLUSH_MAX_SIZE
public static final String CONNECTOR_BULK_FLUSH_INTERVAL
public static final String CONNECTOR_BULK_FLUSH_BACKOFF_TYPE
public static final String CONNECTOR_BULK_FLUSH_BACKOFF_TYPE_VALUE_DISABLED
public static final String CONNECTOR_BULK_FLUSH_BACKOFF_TYPE_VALUE_CONSTANT
public static final String CONNECTOR_BULK_FLUSH_BACKOFF_TYPE_VALUE_EXPONENTIAL
public static final String CONNECTOR_BULK_FLUSH_BACKOFF_MAX_RETRIES
public static final String CONNECTOR_BULK_FLUSH_BACKOFF_DELAY
public static final String CONNECTOR_CONNECTION_MAX_RETRY_TIMEOUT
public static final String CONNECTOR_CONNECTION_PATH_PREFIX
public void validate(DescriptorProperties properties)
DescriptorValidator
validate
in interface DescriptorValidator
validate
in class ConnectorDescriptorValidator
public static List<ElasticsearchUpsertTableSinkBase.Host> validateAndParseHostsString(DescriptorProperties descriptorProperties)
Hosts String format was given as following:
connector.hosts = http://host_name:9092;http://host_name:9093
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.