Modifier and Type | Method and Description |
---|---|
static Agent |
Agent.createAgent(String host,
String port)
Create an Agent.
|
Agent[] |
FlumeAvroManager.getAgents()
Returns the agents.
|
Modifier and Type | Method and Description |
---|---|
static FlumeAppender |
FlumeAppender.createAppender(Agent[] agents,
org.apache.logging.log4j.core.config.Property[] properties,
String hosts,
String embedded,
String type,
String dataDir,
String connectionTimeoutMillis,
String requestTimeoutMillis,
String agentRetries,
String maxDelayMillis,
String name,
String ignore,
String excludes,
String includes,
String required,
String mdcPrefix,
String eventPrefix,
String compressBody,
String batchSize,
String lockTimeoutRetries,
FlumeEventFactory factory,
org.apache.logging.log4j.core.Layout<? extends Serializable> layout,
org.apache.logging.log4j.core.Filter filter)
Create a Flume Avro Appender.
|
static FlumeAvroManager |
FlumeAvroManager.getManager(String name,
Agent[] agents,
int batchSize,
int delayMillis,
int retries,
int connectTimeoutMillis,
int requestTimeoutMillis)
Returns a FlumeAvroManager.
|
static FlumePersistentManager |
FlumePersistentManager.getManager(String name,
Agent[] agents,
org.apache.logging.log4j.core.config.Property[] properties,
int batchSize,
int retries,
int connectionTimeout,
int requestTimeout,
int delayMillis,
int lockTimeoutRetryCount,
String dataDir)
Returns a FlumeAvroManager.
|
static FlumeEmbeddedManager |
FlumeEmbeddedManager.getManager(String name,
Agent[] agents,
org.apache.logging.log4j.core.config.Property[] properties,
int batchSize,
String dataDir)
Returns a FlumeEmbeddedManager.
|
Constructor and Description |
---|
FlumeAvroManager(String name,
String shortName,
Agent[] agents,
int batchSize,
int delayMillis,
int retries,
int connectTimeout,
int requestTimeout)
Constructor
|
FlumePersistentManager(String name,
String shortName,
Agent[] agents,
int batchSize,
int retries,
int connectionTimeout,
int requestTimeout,
int delay,
com.sleepycat.je.Database database,
com.sleepycat.je.Environment environment,
SecretKey secretKey,
int lockTimeoutRetryCount)
Constructor
|
Copyright © 1999-1969 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.