I am interested on developing a specific drop rule to control the segments. For example:
I have 2 datasources on 1 historical node. If I enable my custom drop rule, I want something similar this:
If I have 2 datasource, each datasource has 50% of the historical size.
If one of them has 20% and another has 50%, I want the second datasource to start to remove old segments and accept new segments.
Other example, the possibility to set a XXX Mbytes to a datasource and it can load only this Mbytes, when the space is full the segments rotates.
In conclusion, I want to develop a rule based on the size (% or bytes) of the historical instead of the time or intervals.
Is this possible?