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.

You are reading Charging Data Function 4.0, an older release. The newest release is 4.3. Go to 4.3

Adding a NATS server

Charging Data Function (CDF) stores charging data in NATS. If CDF is not part of a Cennso installation where NATS is included, you must add a NATS server before starting CDF.

Helm

CDF needs a dependable data store for charging data. The default NATS cluster installationOpens in a new tab provides this when JetStream is enabled. CDF support Helm chart has an entry for NATS. You must set nats.enabled to true for a standalone NATS server. You must supply a value for nats.config.jetstream.fileStore.pvc.size. Size should be big enough for streams, consumers and buckets. The stream size calculation is described here. The additional space needed for consumers and buckets is 1 Mb.

If you want to change the defaults, read the applicable documentationOpens in a new tab.

Installed NATS

The installed NATS server is available as nats://support-nats.default:4222 inside the cluster. The data is stored in /data.