> ## Documentation Index
> Fetch the complete documentation index at: https://docs.condense.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Kafka Topics

<Frame>
  <img src="https://mintcdn.com/zeliot/V3FrQU0_JGAJgna8/images/image-39.png?fit=max&auto=format&n=V3FrQU0_JGAJgna8&q=85&s=55206045e643df8784e5c09b1fb53418" alt="Image" width="2304" height="1388" data-path="images/image-39.png" />
</Frame>

### Overview

The **Kafka Topics** page in Condense provides a management interface to view, create, and configure topics within a Kafka cluster. From this page, administrators can define replication and partitioning, adjust retention policies, and apply advanced topic-level settings without requiring direct Kafka CLI commands.

Path: **Kafka Management → Kafka Topics**

### Topic List

On the left-hand panel, Condense displays all existing topics in the connected Kafka cluster.

* Topics are listed alphabetically.
* A search box allows filtering by topic name.

<Frame>
  <img src="https://mintcdn.com/zeliot/V3FrQU0_JGAJgna8/images/image-40.png?fit=max&auto=format&n=V3FrQU0_JGAJgna8&q=85&s=c0803e61fdcb02ed24262f007a49887a" alt="Image" width="1200" height="625" data-path="images/image-40.png" />
</Frame>

Selecting a topic loads its configuration details in the main panel.

<Frame>
  <img src="https://mintcdn.com/zeliot/V3FrQU0_JGAJgna8/images/image-41.png?fit=max&auto=format&n=V3FrQU0_JGAJgna8&q=85&s=6695dd8cd5c31535bb1d8c35ff8e2e8c" alt="Image" width="1200" height="625" data-path="images/image-41.png" />
</Frame>

### Topic Actions

For each topic, Condense provides the following actions in the top-right menu:

* **Messages** → Opens the message viewer for browsing records in the topic.

* **Edit** → Enables modification of topic configuration.
  <Frame>
    <img src="https://mintcdn.com/zeliot/V3FrQU0_JGAJgna8/images/image-42.png?fit=max&auto=format&n=V3FrQU0_JGAJgna8&q=85&s=b3e385583c85493797c41fcbbb895fc6" alt="Image" width="1200" height="625" data-path="images/image-42.png" />
  </Frame>

* **Delete** → Permanently deletes the selected topic from the cluster.
  <Frame>
    <img src="https://mintcdn.com/zeliot/V3FrQU0_JGAJgna8/images/image-43.png?fit=max&auto=format&n=V3FrQU0_JGAJgna8&q=85&s=bf2fdaf1ec48edb7a58e06497bfe0650" alt="Image" width="1200" height="625" data-path="images/image-43.png" />
  </Frame>

Additionally, the **Create Topic** button allows new topic creation with custom parameters.

<Frame>
  <img src="https://mintcdn.com/zeliot/V3FrQU0_JGAJgna8/images/image-44.png?fit=max&auto=format&n=V3FrQU0_JGAJgna8&q=85&s=b0f5985166b7be2e329df48f8d5f47e4" alt="Image" width="2304" height="1201" data-path="images/image-44.png" />
</Frame>

### Basic Configuration

When creating or editing a topic, the following required fields must be defined:

| Field                       | Description                                                                     | Example |
| --------------------------- | ------------------------------------------------------------------------------- | ------- |
| **Replication Factor**      | Number of replicas `for `each partition. Ensures<br /> data availability.       | `3`     |
| **No of Partitions**        | Number of partitions in the topic. Determines parallelism <br />and throughput. | `6`     |
| **Retention Period (days)** | Duration for which messages are retained <br />in the topic before deletion.    | `7`     |

### Advanced Configurations

Advanced settings allow fine-grained control of topic behavior. These fields map directly to Kafka topic configuration parameters.

|   |   |   |
| - | - | - |
|   |   |   |
|   |   |   |

Field

Description

Example

**Cleanup Policy**

Determines log cleanup strategy. Options: `Delete` (default), `Compact`.

`Delete`

**Delete Retention Period (days)**

How long delete markers are retained during log compaction.

`1`

**Max Compaction Lag (ms)**

Maximum time a record can remain uncompacted.

`9223372036854775807`

**Max Message Size (bytes)**

Maximum size of an individual message allowed.

`5242940`

**Message Timestamp After Max (ms)**

Upper bound for timestamp range in messages.

`9223372036854775807`

**Message Timestamp Before Max (ms)**

Lower bound for timestamp range in messages.

`9223372036854775807`

**Message Timestamp Type**

Defines how message timestamps are set. Options: `CreateTime`, `LogAppendTime`.

`CreateTime`

**Min Compaction Lag (ms)**

Minimum time a record must remain before compaction.

`0`

**Min In-Sync Replicas**

Minimum number of replicas that must acknowledge a write for it to succeed.

`1`

**Retention Size (bytes)**

Maximum total size of log segments retained before deletion. `-1` = unlimited.

`-1`

**Segment Size (bytes)**

Size of each log segment file before rolling.

`1073741824`

**Segment Period (ms)**

Time-based rolling interval for log segments.

`604800000`

### Usage Notes

* All advanced fields correspond to Kafka’s topic-level configuration properties.
* Fields not explicitly set in Condense will use Kafka cluster defaults.
* Certain changes (e.g., partition count) are not reversible once applied.
* Care must be taken with retention and cleanup policies to avoid unintended data loss.

### Related Sections

* [Resource Utilization](/condense/condense-app-getting-started/resource-utilization)
* [ksqlDB](/condense/condense-app-getting-started/ksqldb)
