Skip to content

Singer getting stuck when there's frequent file rotation #513

@amanjots19

Description

@amanjots19

We’re using Singer as a sidecar container in our pod to read logs from the main container. However, we’re facing an issue when frequent log file rotations occur. Singer throws the following error:

ERROR [2025-10-15 08:29:36,691] com.pinterest.singer.processor.DefaultLogStreamProcessor:
The position: LogPosition(logFile:LogFile(inode:11666108), byteOffset:10400428) from watermark is invalid in LogStream{tutorial.text_log:payload.log}.

Even though a new payload.log file is created successfully, Singer continues to throw this error at regular intervals until we manually restart the process.

Your help in resolving this issue would be greatly appreciated. 😊

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions