Daniel Luo
09/30/2024, 4:48 PM_MAX_RECORD_AGE_IN_MINUTES
? Is there no way to configure and increase this? https://github.com/meltano/sdk/blob/main/singer_sdk/target_base.py#L53Edgar RamĂrez (Arch.dev)
09/30/2024, 6:29 PMIs there no way to configure and increase this?Not at the moment. Do create an issue in the github repo 🙏
Daniel Luo
09/30/2024, 6:32 PMDaniel Luo
09/30/2024, 6:38 PMEdgar RamĂrez (Arch.dev)
09/30/2024, 10:30 PM_MAX_RECORD_AGE_IN_MINUTES
is just a signal for flushing records from memory. So when a loader is processing records from the extractor, it usually doesn't insert every record it receives immediately, instead it holds a batch of records in memory and waits for a signal for storing the batch. The signal could be:
• the loader will start to process a different stream, so process the current one to free-up memory and commit the current state of the pipeline
• the batch has reached a certain size limit, so process it
• the batch has been holding records for 5 minutes now, let's process those records so in case something goes wrong we have already committed some of the data.Daniel Luo
09/30/2024, 10:33 PM