> ## 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

<img src="https://mintcdn.com/zeliot/1mmppOlVvf6i8S0Q/images/condense/v2.4.0/fully-managed-kafka/rwKRGO3QthZ6EMqqYblg%252Fblobs%252FHdvkoGuHQ25BRv5yuMwS%252Fimage.png?fit=max&auto=format&n=1mmppOlVvf6i8S0Q&q=85&s=35b780be235d598b846ffc49533a7b93" alt="" width="2304" height="1388" data-path="images/condense/v2.4.0/fully-managed-kafka/rwKRGO3QthZ6EMqqYblg%2Fblobs%2FHdvkoGuHQ25BRv5yuMwS%2Fimage.png" />

### 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.

<img src="https://mintcdn.com/zeliot/1mmppOlVvf6i8S0Q/images/condense/v2.4.0/fully-managed-kafka/rwKRGO3QthZ6EMqqYblg%252Fblobs%252FrnW28uxzymQOvFJbWyUu%252Fimage.png?fit=max&auto=format&n=1mmppOlVvf6i8S0Q&q=85&s=22c9243327ddbc1df1a6a06ec82cf6a2" alt="" width="2304" height="1201" data-path="images/condense/v2.4.0/fully-managed-kafka/rwKRGO3QthZ6EMqqYblg%2Fblobs%2FrnW28uxzymQOvFJbWyUu%2Fimage.png" />

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

<img src="https://mintcdn.com/zeliot/1mmppOlVvf6i8S0Q/images/condense/v2.4.0/fully-managed-kafka/rwKRGO3QthZ6EMqqYblg%252Fblobs%252FTSKtQjqcCfEgiukv39tk%252Fimage.png?fit=max&auto=format&n=1mmppOlVvf6i8S0Q&q=85&s=85ae34e492b04ee057aaf1fe68d37d15" alt="" width="2304" height="1201" data-path="images/condense/v2.4.0/fully-managed-kafka/rwKRGO3QthZ6EMqqYblg%2Fblobs%2FTSKtQjqcCfEgiukv39tk%2Fimage.png" />

### 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.

<img src="https://mintcdn.com/zeliot/1mmppOlVvf6i8S0Q/images/condense/v2.4.0/fully-managed-kafka/rwKRGO3QthZ6EMqqYblg%252Fblobs%252FdOKzjOU7T84NTPzYWidw%252Fimage.png?fit=max&auto=format&n=1mmppOlVvf6i8S0Q&q=85&s=1244de157ff430cc5cdb28bab2ce490c" alt="" width="2304" height="1201" data-path="images/condense/v2.4.0/fully-managed-kafka/rwKRGO3QthZ6EMqqYblg%2Fblobs%2FdOKzjOU7T84NTPzYWidw%2Fimage.png" />

* **Delete** → Permanently deletes the selected topic from the cluster.

<img src="https://mintcdn.com/zeliot/1mmppOlVvf6i8S0Q/images/condense/v2.4.0/fully-managed-kafka/rwKRGO3QthZ6EMqqYblg%252Fblobs%252FYbKKY2IEZQfT0TkWqrU1%252Fimage.png?fit=max&auto=format&n=1mmppOlVvf6i8S0Q&q=85&s=a48795599fab214f8059934e261c90ef" alt="" width="2304" height="1201" data-path="images/condense/v2.4.0/fully-managed-kafka/rwKRGO3QthZ6EMqqYblg%2Fblobs%2FYbKKY2IEZQfT0TkWqrU1%2Fimage.png" />

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

<img src="https://mintcdn.com/zeliot/1mmppOlVvf6i8S0Q/images/condense/v2.4.0/fully-managed-kafka/rwKRGO3QthZ6EMqqYblg%252Fblobs%252Fzdkzk0cmgqgD0ZYjClM9%252Fimage.png?fit=max&auto=format&n=1mmppOlVvf6i8S0Q&q=85&s=e3f139660263816c6ea58ff278661eef" alt="" width="2304" height="1201" data-path="images/condense/v2.4.0/fully-managed-kafka/rwKRGO3QthZ6EMqqYblg%2Fblobs%2Fzdkzk0cmgqgD0ZYjClM9%2Fimage.png" />

### 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 data availability.         | `3`     |
| No of Partitions        | Number of partitions in the topic. Determines parallelism and throughput. | `6`     |
| Retention Period (days) | Duration for which messages are retained 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/v2.4.0/other-features/resource-utilization)
* [ksqlDB](/condense/v2.4.0/fully-managed-kafka/ksqldb)

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

| 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`           |

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

| 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`           |
