Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14199

camel-hdfs - Add maxMessagesPerPoll for Consumer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • camel-hdfs
    • None
    • Unknown

    Description

      Add a maxMessagesPerPoll property, like the file component has.

       

      * To define a maximum messages to gather per poll.
      * 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.
      * Set a value of 0 or negative to disabled it.
      * Notice: If this option is in use then the File and FTP components will limit before any sorting.
      * For example if you have 100000 files and use maxMessagesPerPoll=500, then only the first 500 files will be picked up, and then sorted.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marius_cornescu Marius Cornescu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m