public class ElasticSearchSinkConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BATCH_SIZE
Maximum number of events the sink should take from the channel per
transaction, if available.
|
static String |
CLIENT_PREFIX
The client prefix to extract the configuration that will be passed to
elasticsearch client.
|
static String |
CLIENT_TYPE
The client type used for sending bulks to ElasticSearch
|
static String |
CLUSTER_NAME
Name of the ElasticSearch cluster to connect to
|
static String |
DEFAULT_CLIENT_TYPE |
static String |
DEFAULT_CLUSTER_NAME |
static String |
DEFAULT_INDEX_NAME |
static String |
DEFAULT_INDEX_NAME_BUILDER_CLASS |
static String |
DEFAULT_INDEX_TYPE |
static int |
DEFAULT_PORT
DEFAULTS USED BY THE SINK
|
static String |
DEFAULT_SERIALIZER_CLASS |
static int |
DEFAULT_TTL |
static String |
HOSTNAMES
Comma separated list of hostname:port, if the port is not present the
default port '9300' will be used
|
static String |
INDEX_NAME
The name to index the document to, defaults to 'flume'
|
static String |
INDEX_NAME_BUILDER
The fully qualified class name of the index name builder the sink
should use to determine name of index where the event should be sent.
|
static String |
INDEX_NAME_BUILDER_PREFIX
The fully qualified class name of the index name builder the sink
should use to determine name of index where the event should be sent.
|
static String |
INDEX_TYPE
The type to index the document to, defaults to 'log'
|
static String |
SERIALIZER
The fully qualified class name of the serializer the sink should use.
|
static String |
SERIALIZER_PREFIX
Configuration to pass to the serializer.
|
static String |
TTL
TTL in days, when set will cause the expired documents to be deleted
automatically, if not set documents will never be automatically deleted
|
static String |
TTL_REGEX |
Constructor and Description |
---|
ElasticSearchSinkConstants() |
public static final String HOSTNAMES
127.0.0.1:92001,127.0.0.2:9300
public static final String INDEX_NAME
public static final String INDEX_TYPE
public static final String CLUSTER_NAME
public static final String BATCH_SIZE
public static final String TTL
public static final String SERIALIZER
public static final String SERIALIZER_PREFIX
public static final String INDEX_NAME_BUILDER
public static final String INDEX_NAME_BUILDER_PREFIX
public static final String CLIENT_TYPE
public static final String CLIENT_PREFIX
public static final int DEFAULT_PORT
public static final int DEFAULT_TTL
public static final String DEFAULT_INDEX_NAME
public static final String DEFAULT_INDEX_TYPE
public static final String DEFAULT_CLUSTER_NAME
public static final String DEFAULT_CLIENT_TYPE
public static final String TTL_REGEX
public static final String DEFAULT_SERIALIZER_CLASS
public static final String DEFAULT_INDEX_NAME_BUILDER_CLASS
Copyright © 2009-2017 Apache Software Foundation. All Rights Reserved.