---
title: OCI Kafka
description: >-
  Monitor OCI Kafka, a fully managed, scalable, and secure Apache Kafka service
  for real-time streaming data pipelines.
breadcrumbs: Docs > Integrations > OCI Kafka
---

# OCI Kafka
Integration version1.0.0
## Overview{% #overview %}

Oracle Cloud Infrastructure (OCI) Kafka is a fully managed, scalable, and secure Apache Kafka service for building real-time streaming data pipelines.

This integration allows you to monitor the performance, throughput, and health of your Kafka clusters by collecting metrics and tags from the [`oci_kafka`](https://docs.oracle.com/en-us/iaas/Content/kafka/metrics.htm) namespace.

## Setup{% #setup %}

### Installation{% #installation %}

After you set up the [Oracle Cloud Infrastructure](https://docs.datadoghq.com/integrations/oracle_cloud_infrastructure/) integration, ensure that the `oci_kafka` namespace is included in your [Connector Hub](https://cloud.oracle.com/connector-hub/service-connectors).

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **oci.kafka.broker\_active\_controller\_count**(gauge)                 | Number of active controllers for each broker. Must always be 1.*Shown as instance*                                                               |
| **oci.kafka.broker\_available\_disk\_space**(gauge)                    | Percentage of available disk space in each broker.*Shown as percent*                                                                             |
| **oci.kafka.broker\_bytes\_in\_total**(count)                          | Total number of bytes in for a broker.*Shown as byte*                                                                                            |
| **oci.kafka.broker\_bytes\_out\_total**(count)                         | Total number of bytes out for a broker.*Shown as byte*                                                                                           |
| **oci.kafka.broker\_connection\_count\_per\_listener**(gauge)          | Total number of active connections to a Kafka broker, broken down by listener (such as PLAINTEXT and SSL).*Shown as connection*                  |
| **oci.kafka.broker\_cpu\_usage**(gauge)                                | Total CPU usage for each broker.*Shown as percent*                                                                                               |
| **oci.kafka.broker\_failed\_fetch\_requests**(count)                   | Cumulative count of Fetch requests that the broker returned with an error, signalling client-visible read failures.*Shown as request*            |
| **oci.kafka.broker\_failed\_produce\_requests**(count)                 | Tracks the total number of failed produce (write) requests received by the Kafka broker.*Shown as request*                                       |
| **oci.kafka.broker\_memory\_used**(gauge)                              | Total heap + non-heap memory usage for each broker.*Shown as percent*                                                                            |
| **oci.kafka.broker\_network\_processor\_avg\_idle\_percentage**(gauge) | The average idle percentage of the Kafka network I/O threads (also known as network processors) over time.*Shown as percent*                     |
| **oci.kafka.broker\_offline\_partitions\_count**(gauge)                | Number of partitions assigned to a broker that are currently offline.*Shown as shard*                                                            |
| **oci.kafka.broker\_open\_file\_descriptors**(gauge)                   | Total file descriptors that are open on a broker.*Shown as file*                                                                                 |
| **oci.kafka.broker\_request\_handler\_avg\_idle\_percentage**(gauge)   | Measures the average percentage of time that Kafka request handler threads are idle, indicating available processing capacity.*Shown as percent* |
| **oci.kafka.broker\_total\_fetch\_requests**(count)                    | Cumulative count of every Fetch request the broker has processed, reflecting overall read-side traffic volume.*Shown as request*                 |
| **oci.kafka.broker\_total\_incoming\_messages**(count)                 | Counts the total number of messages received by the Kafka broker across all topics and partitions.*Shown as message*                             |
| **oci.kafka.broker\_total\_produce\_requests**(count)                  | Tracks the total number of produce (write) requests received by the Kafka broker.*Shown as request*                                              |
| **oci.kafka.broker\_under\_replicated\_partitions**(gauge)             | Shows the number of partitions that are under replicated in a broker.*Shown as shard*                                                            |

### Events{% #events %}

The OCI Kafka integration does not include any events.

### Service Checks{% #service-checks %}

The OCI Kafka integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
