You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2019/11/21 19:40:00 UTC
[jira] [Resolved] (CAMEL-14199) camel-hdfs - Add maxMessagesPerPoll
for Consumer
[ https://issues.apache.org/jira/browse/CAMEL-14199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-14199.
---------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
> camel-hdfs - Add maxMessagesPerPoll for Consumer
> ------------------------------------------------
>
> Key: CAMEL-14199
> URL: https://issues.apache.org/jira/browse/CAMEL-14199
> Project: Camel
> Issue Type: Improvement
> Components: camel-hdfs
> Reporter: Marius Cornescu
> Priority: Major
> Fix For: 3.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Add a _maxMessagesPerPoll_ property, like the file component has.
>
> {color:#57d9a3}_* To define a maximum messages to gather per poll._{color}
> {color:#57d9a3} _* By default no maximum is set. Can be used to set a limit of e.g. 1000 to avoid when starting up the server that there are thousands of files._{color}
> {color:#57d9a3} _* Set a value of 0 or negative to disabled it._{color}
> {color:#57d9a3} _* Notice: If this option is in use then the File and FTP components will limit before any sorting._{color}
> {color:#57d9a3} _* For example if you have 100000 files and use maxMessagesPerPoll=500, then only the first 500 files will be picked up, and then sorted._{color}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)