You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Marius Cornescu (Jira)" <ji...@apache.org> on 2019/11/21 09:15:00 UTC

[jira] [Created] (CAMEL-14199) camel-hdfs - Add maxMessagesPerPoll for Consumer

Marius Cornescu created CAMEL-14199:
---------------------------------------

             Summary: 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


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)