[ 
https://issues.apache.org/jira/browse/FLUME-2006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13711526#comment-13711526
 ] 

Jeff Lord commented on FLUME-2006:
----------------------------------

Thank you for reviving this one Ashish.
This is a little more than a trivial change given the fact that we will want to 
maintain backwards compatibility for folks that have developed against the api 
which have used batch-size. 

1. To that end we would probably want to allow for either property name to be 
used and log a warning that batch-size is deprecated and batchSize is the 
correct name moving forward.

2. More importantly though we need to address what happens when someone has 
both batchSize and batch-size specified in their config? I would propose that 
we throw an error on start up which states that batch-size is deprecated please 
use batchSize.

Thoughts?
                
> in Avro the batch size is called batch-size, in all other sources batchSize
> ---------------------------------------------------------------------------
>
>                 Key: FLUME-2006
>                 URL: https://issues.apache.org/jira/browse/FLUME-2006
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: v1.3.1
>            Reporter: Alexander Alten-Lorenz
>            Assignee: Jeff Lord
>            Priority: Trivial
>
> http://mail-archives.apache.org/mod_mbox/flume-user/201304.mbox/%[email protected]%3e

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to