jihoonson commented on a change in pull request #6414: Period
load/drop/broadcast rules should include the future by default
URL: https://github.com/apache/incubator-druid/pull/6414#discussion_r229478899
##########
File path: docs/content/operations/rule-configuration.md
##########
@@ -120,14 +122,16 @@ Period drop rules are of the form:
```json
{
"type" : "dropByPeriod",
- "period" : "P1M"
+ "period" : "P1M",
+ "includeFuture" : true
}
```
* `type` - this should always be "dropByPeriod"
* `period` - A JSON Object representing ISO-8601 Periods
+* `includeFuture` - A JSON Boolean indicating whether the load period should
include the future. This property is optional, Default is true.
-The interval of a segment will be compared against the specified period. The
period is from some time in the past to the current time. The rule matches if
the period contains the interval.
+The interval of a segment will be compared against the specified period. The
period is from some time in the past to the future or to the current time,
which depends on `includeFuture` is true or false. The rule matches if the
period `contains` the interval. This drop rule always dropping recent data.
Review comment:
Same. How about _italics_(single asterisk or underscore) or **bold** (double
asterisk or underscore)?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]