Set this parameter to group multiple messages (from the same channel) into a single IDOL document. For example, if you set GroupMessagesByInterval=5 minutes
, the connector groups messages that occur within a five-minute interval.
The next interval begins at the time of the first message that falls outside the preceding interval. For example, notice the one minute gap between the following five-minute intervals:
10:30 - Message1 [Interval 1 starts at 10:30] 10:32 - Message2 [In interval 1] 10:34 - Message3 [In interval 1] [Interval 1 ends at 10:35] 10:36 - Message4 [Interval 2 starts at 10:36] 10:38 - Message5 [In interval 2] 10:40 - Message6 [In interval 2]
If you set this parameter and also set GroupMessagesByCount, the connector starts a new document as soon as one of the criteria (time interval or number of messages) is reached.
Type: |
![]() The value of this parameter is a time duration. Specify the duration in the following format: 1years 2months 3weeks 4days 5hours 6minutes 7.8seconds You can omit any of the individual durations when they are not required: 6minutes 7seconds You can also shorten the string by abbreviating the units to their first letter (months abbreviates to m, minutes to n): 6n 7s If you want to specify the value in seconds, no units are required: 60 The following are all equivalent: 1minute 3seconds |
Default: | |
Required: | No |
Configuration Section: | TaskName or FetchTasks |
Example: | GroupMessagesByInterval=10 minutes
|
See Also: | GroupMessagesByCount |
|