Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
0.8
-
None
-
None
Description
Today, the frequency of Retention coordinator is set to 6 hours if feed frequency is in minutes or hours. It is set to 1 day if feed frequency is in days. In FeedRetentionCoordinatorBuilder,
TimeUnit timeUnit = entity.getFrequency().getTimeUnit(); if (timeUnit == TimeUnit.hours || timeUnit == TimeUnit.minutes) { coord.setFrequency("${coord:hours(6)}"); } else { coord.setFrequency("${coord:days(1)}"); }
This frequency is good default, but should be configurable in feed entity.