Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Example- Timeout type with 1-hour intervals

If you aggregate price per account and set timeout to 1 hour, then you will have the following behavior: 

  • At 13:00, Account 'X' might be charged $10 for a specific transaction or service usage.

  • At 13:33, Account 'X' uses another service or makes another transaction, leading to a new charge of $12. By the end of the aggregation window timeout (set to 14:00), the total sum for Account 'X' would be $22 (10 + 12).

For Account 'Y':

  • At 13:07, Account 'Y' is charged $20 for a service. Since Account 'Y' has its own aggregation window starting at this time, its timeout will be set to 14:07.

  • No further records come in for Account 'Y' during this window, so at 14:07 when the timeout occurs, the total for Account 'Y' remains $20.

...

Info

Example - Timeout type set to ‘day’

if If you set the timeout to happen everyday at 23:59 midnight in the "UTC" timezone, all data will be flushed at that time, every day, according to UTC.

This means the timeout will always occur at the same time each day, regardless of when data was first aggregated.

...