GitHub
04/08/2025, 9:54 AMmax_records config for testing
Issue created by pnadolny13
### Feature scope
Taps (catalog, state, stream maps, etc.)
### Description
It would be really nice to have something like a max_records config that I can set for my taps in test/CI environments that limits the amount of records to sync (e.g. I want around 100 records). We usually recommend limiting the tap's start date to something like yesterday but that could still replicate an excessive amount of data in some cases. If you only need 100 records but syncing from yesterday returns 1M then its a bad pattern. Ideally I could just configure my tap to pull 100 record and once it knows its exceeded that then it just exits. I think the test feature does something similar, exiting after it sees its first successful record.
### My example from Squared CI:
Set a DEFAULT_START_DATE for my extractor start dates in my CICD meltano environment to yesterday's date. For cloudwatch, google analytics, slack, etc. I'm pulling way more data than I need to do simple CI tests. It would allow me to save on time and cost.
meltano/sdkGitHub
04/08/2025, 9:54 AMmax_records config for testing
Issue closed as completed by stale[bot]
meltano/sdk