For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Charging Data Function 4.1.0

Charging Data Function (CDF) release 4.1.0 contains mostly changes related to the architectural change to using NATS, introduced in the 4.0.0 release. In addition to the KV-bucket and workqueue based on NATS, a NATS archive stream is now available. CDF supports multiple NATS endpoints for the NATS-based services that it uses (workqueue, KV-store, and archive).

Features

NATS-based archive stream

As the S3-based archive is not available in CDF 4.X and the "tail-end" of the workqueue used as an archive has conflicting requirements with the workqueue functionality, we decided to introduce a dedicated archive stream. The related configuration and documentation have been added here.

Encoding and compression support for workqueue and archive

CDRs stored in the workqueue or the archive may now be encoded in the "JSON" or "ErlangTerm" format. Additionally, to save network bandwidth, client-side "zlib" compression may be used in both places. The related configuration and documentation have been added here.

Reduced frequency of storing local sequence number and GTP sequence number

CDF Receiver (GTP sequence number) and CDF Sender (local sequence number) keep track of and persist sequence numbers. These numbers were persisted with every CDR added to the workqueue and to the archive. As this was a bottleneck, we switched to a probabilistic method that persists the sequence numbers much less frequently. The related configuration and documentation have been added here.

Support for multiple NATS connections

The components of CDF using NATS (KV-store, workqueue, archive) now all have their own associated NATS service. This allows you to use purpose-built NATS instances and spread the load between them. The related configuration and documentation have been added here.

Introduced rate limiting

Rate limiting was introduced to CDF Receiver (limiting the rate of incoming Diameter Accounting Requests) and to CDF Sender (limiting the rate of outgoing CDRs to the CGFs). The related configuration and documentation have been added here.

Support for IPv6 address format in the configuration

IPv6 addresses are now supported in the sender.CGFs.IP and http.ip configuration items. For more information, read the CDFSender concept document.

Maintenance

Updated runtime environment

The Erlang beam VM has been updated from version 26.2 to 27.0.

Improved CDR dashboard

Added tooltips to the individual graphs.

Fixes

Fixed broken configuration items

As a fallout of the architectural change introduced in version 4.0.0, the logic for handling some configuration items was broken or removed. This has now been fixed.

The affected configuration items:

  • sender.retries
  • sender.responseTimeout