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

Allow S3 Consumer to be configured to not return/delete "directories"

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: camel-aws-s3
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Allow S3 Consumer to be configured to not return/delete "empty files" which S3 uses as a way to simulate a folder structure. 

      Since S3 object Content-Type meta-data tells whether the object is a "directory", this can be used to identify and skip such objects. It does mean that the number of objects returned could be less than the maxMessagesPerPoll. As long as this is not the default and the docs explain what to expect, I believe this would be okay.

      Wanted to create a JIRA to see if there was an architectural objection to adding such a feature. If not, Ill try submitting a PR.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                acosentino Andrea Cosentino
                Reporter:
                dariusx Darius Cooper
              • 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