You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2015/06/07 01:22:01 UTC
[jira] [Commented] (LOG4J2-1044) batchSize doesnt work for flume
avro manager
[ https://issues.apache.org/jira/browse/LOG4J2-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14576005#comment-14576005 ]
Gary Gregory commented on LOG4J2-1044:
--------------------------------------
FlumeAvroManager.send(final BatchEvent events) is called from org.apache.logging.log4j.flume.appender.FlumePersistentManager.WriterThread.sendBatch(DatabaseEntry, DatabaseEntry)
> batchSize doesnt work for flume avro manager
> --------------------------------------------
>
> Key: LOG4J2-1044
> URL: https://issues.apache.org/jira/browse/LOG4J2-1044
> Project: Log4j 2
> Issue Type: Question
> Components: Flume Appender
> Affects Versions: 2.2
> Reporter: Siva Kotipalli
>
> The flume appender documentation mention about batch size which states that "Specifies the number of events that should be sent as a batch. The default is 1.". The batchSize doesnt work and always defaults to one.
> Its noticed that method FlumeAvroManager.send(final BatchEvent events) is never referred by appender.
> Kindly let us know what is the correct config for batch size, the provided config is
> <Flume name="flume_avro" compress="false" batchSize="5">...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org