Ordering of Events and Time Stamps
By default, Kafka streams CDRs in the order of the creation time, the time they are
appended to the log. However, the CDR Aggregation Function (CAF) application uses a custom
timestamp extractor to order the streamed events, based on
invocationTimeStamp
in the ChargingDataRequest
. If the
invocationTimeStamp
is missing or is not in ISO 8601 format, the
current milliseconds of the system time is used and a warning message is logged.
Note: The CAF records if a session has been released. In the unlikely
scenario that an update is received after a session has been released, the update is
written out as an individual CDR.