Skip to content

When using zipped file, is there any reason , why the zipped file is not removed from the directoty once unzipped?Β #603

Open
@rouellet99

Description

@rouellet99

FilePulse version 2.13, docker desktop 4.22.1

When using zipped file, is there any reason why the zipped file is not removed from the directoty once unzipped?

The reason of my question is when using
"offset.attributes.string": "name+lastModified",
"fs.cleanup.policy.class": "io.streamthoughts.kafka.connect.filepulse.fs.clean.LocalMoveCleanupPolicy",

since the zipped file is not removed, once the unzipped file has been processed, the file that was zipped will be unzipped and processed again since the lastModified value is different than the previous one. This will end up to in an infinit loop.

Is there a way to make sure that the zipped file is removed once it is unzipped to avoid this situation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions