简体   繁体   中英

How to set retention time in Netflix Conductor?

We use MySQL as database for working with Netflix Conductor. Is it possible to set time to keep workflow execution history (in MySQL and in Elasticsearch)?

There's no such option but you can schedule tasks to call

/workflow/{workflowId}/remove?archiveWorkflow=false

which will clean the workflows from both database and elasticsearch for workflows that fits your criteria.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM