public class MongoDbConnectorConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MongoDbConnectorConfig.CollectionRecommender |
protected static class |
MongoDbConnectorConfig.DatabaseRecommender |
| Modifier and Type | Field and Description |
|---|---|
static Field.Set |
ALL_FIELDS |
static Field |
AUTO_DISCOVER_MEMBERS |
static Field |
COLLECTION_BLACKLIST
A comma-separated list of regular expressions that match the fully-qualified namespaces of collections to be excluded from
monitoring.
|
private static String |
COLLECTION_LIST_NAME |
private static MongoDbConnectorConfig.CollectionRecommender |
COLLECTION_LIST_RECOMMENDER |
static Field |
COLLECTION_WHITELIST
A comma-separated list of regular expressions that match the fully-qualified namespaces of collections to be monitored.
|
static Field |
CONNECT_BACKOFF_INITIAL_DELAY_MS |
static Field |
CONNECT_BACKOFF_MAX_DELAY_MS |
static Field |
DATABASE_LIST |
private static String |
DATABASE_LIST_NAME |
private static MongoDbConnectorConfig.DatabaseRecommender |
DATABASE_LIST_RECOMMENDER |
protected static Field.Set |
EXPOSED_FIELDS |
static Field |
HOSTS
The comma-separated list of hostname and port pairs (in the form 'host' or 'host:port') of the MongoDB servers in the
replica set.
|
static Field |
LOGICAL_NAME |
static Field |
MAX_BATCH_SIZE |
static Field |
MAX_COPY_THREADS |
static Field |
MAX_FAILED_CONNECTIONS |
static Field |
MAX_QUEUE_SIZE |
static Field |
PASSWORD |
static Field |
POLL_INTERVAL_MS |
static Field |
POLL_INTERVAL_SEC |
protected static Field |
TASK_ID |
static Field |
USER |
| Constructor and Description |
|---|
MongoDbConnectorConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected static org.apache.kafka.common.config.ConfigDef |
configDef() |
private static int |
validateCollectionBlacklist(Configuration config,
Field field,
Field.ValidationOutput problems) |
private static int |
validateHosts(Configuration config,
Field field,
Field.ValidationOutput problems) |
private static int |
validateMaxQueueSize(Configuration config,
Field field,
Field.ValidationOutput problems) |
private static final String DATABASE_LIST_NAME
private static final String COLLECTION_LIST_NAME
private static final MongoDbConnectorConfig.CollectionRecommender COLLECTION_LIST_RECOMMENDER
private static final MongoDbConnectorConfig.DatabaseRecommender DATABASE_LIST_RECOMMENDER
public static final Field HOSTS
public static final Field LOGICAL_NAME
public static final Field USER
public static final Field PASSWORD
public static final Field POLL_INTERVAL_SEC
public static final Field MAX_COPY_THREADS
public static final Field MAX_QUEUE_SIZE
public static final Field MAX_BATCH_SIZE
public static final Field POLL_INTERVAL_MS
public static final Field CONNECT_BACKOFF_INITIAL_DELAY_MS
public static final Field CONNECT_BACKOFF_MAX_DELAY_MS
public static final Field MAX_FAILED_CONNECTIONS
public static final Field AUTO_DISCOVER_MEMBERS
public static final Field DATABASE_LIST
public static final Field COLLECTION_WHITELIST
'<databaseName>.<collectionName>'.
May not be used with COLLECTION_BLACKLIST.public static final Field COLLECTION_BLACKLIST
<databaseName>.<collectionName>.
May not be used with COLLECTION_WHITELIST.protected static final Field TASK_ID
public static Field.Set ALL_FIELDS
protected static Field.Set EXPOSED_FIELDS
protected static org.apache.kafka.common.config.ConfigDef configDef()
private static int validateHosts(Configuration config, Field field, Field.ValidationOutput problems)
private static int validateMaxQueueSize(Configuration config, Field field, Field.ValidationOutput problems)
private static int validateCollectionBlacklist(Configuration config, Field field, Field.ValidationOutput problems)
Copyright © 2016 JBoss by Red Hat. All rights reserved.