fullstorydev / hauser

Service for moving your Fullstory export files to a data warehouse
MIT License
49 stars 23 forks source link

Optional sleep behavior #85

Open speedyturkey opened 3 years ago

speedyturkey commented 3 years ago

I'd like to suggest adding a config parameter to make the "sleep until an export is ready" behavior optional. This would be very useful in the case where a long-running process is not preferred - for example, when executed as a Fargate task.

This is a great tool and I'm hoping to find a way to use it, thanks for your time.

camphillips22 commented 3 years ago

Hi @speedyturkey, thank you for the suggestion! There has been a lot going on behind the scenes for us at FullStory as we've been working on releasing our new export APIs (and subsequently migrating this code to use them), so I apologize that it has been a few months since you filed this issue.

What exactly is the behavior you are looking for? Part of the design of hauser is that it is supposed to be set and forget, but I could see an argument for stopping instead of sleeping. How are you intending to know when to kick off the Fargate task? Maybe just as a cron?