Overview
This feature is available with Conduktor Scale Plus only.
Prerequisites
Chargeback requires both Console (v1.29.0 and above) and Gateway (v3.4.0 and above).Enable Chargeback in Console
To enable the Chargeback in Console:- Go to Settings > Clusters and select your cluster.
-
In the Provider tab, Select Gateway and enter the API details with the default Virtual Cluster value of passthrough.
- Deploy the Chargeback Interceptor on Gateway. This can be done using:
Go to the Kafka Gateway page and search for observability. Open the
observability-interceptor
and paste your configuration:Chargeback Interceptor
This Interceptor will watch produce and consume to store metrics about incoming and outgoing traffic (bytes) in a topic. The topic is then utilized by the Console to display Chargeback metrics.Configure Chargeback Interceptor
Name | Type | Default | Description |
---|---|---|---|
topicName | String | Topics used to store observability metrics. If this topic already exists in your cluster, it has to have only one partition. If the topic doesn’t exist, Gateway will create it when you deploy the plugin. | |
replicationFactor | Int | The replication factor to set if Gateway needs to create the topic. | |
flushIntervalInSecond | Int | 300 | The periodic interval for flushing metrics to the specified topic. |