Managing Topics in Confluent Cloud¶
You can create, edit, and delete Apache Kafka® topics by using the Confluent Cloud interface. The topics are grouped by cluster.
When VPC peering is enabled, the Confluent Cloud UI dashboard components such as topic management are set up with private endpoints that are not publicly reachable. You must configure internal access. See Configuring Access to the UI Dashboard for details.
Create a Topic¶
Select your cluster name.
Click the Topics page and click Create topic.
Specify your topic details and click Create with defaults. For advanced topic settings, click Customize settings.
For a description of the default Kafka broker configuration settings in Confluent Cloud, see the Confluent Cloud Broker Configuration Settings.
Edit a Topic¶
Click the Topics page, click the ellipses (
...) next to your cluster name, and click Settings.
Click Edit settings.
Make your changes and click Save changes. By default, only the most commonly modified settings are shown. For advanced settings, scroll to the bottom of the page and click Switch to expert mode.
Some topic configuration parameters are not configurable through this interface. These unmodifiable parameters display a lock symbol () next to them. They cannot be changed in either default or expert mode.
The following table lists available parameters in alphabetical order and indicates whether they can be edited. Most can be edited with the exception of the topic name, number of partitions, and replication factor.
Parameter Configurable cleanup.policy Yes cluster Yes compression.type No delete.retention.ms Yes file.delete.delay.ms No flush.messages No flush.ms No follower.replication.throttled.replicas No index.interval.bytes No leader.replication.throttled.replicas No max.message.bytes Yes message.format.version No message.downconversion.enable No message.timestamp.difference.max.ms Yes message.timestamp.type Yes min.cleanable.dirty.ratio No min.compaction.lag.ms Yes min.insync.replicas No name No partitions No preallocate No producer Yes replication.factor No retention.bytes Yes retention.ms Yes segment.bytes Yes segment.index.bytes No segment.jitter.ms No segment.ms Yes tier.enable No unclean.leader.election.enable No
Delete a Topic¶
When you request to delete a topic, the topic is marked for deletion. The topic is not deleted immediately unless it is devoid of data, such as a newly created topic. In the interim, you cannot recreate a topic with the same name as the topic being deleted until the original topic and its data is finished being deleted.
To delete a topic with the Cloud CLI, see ccloud kafka topic delete.
Follow these steps to delete a topic using the GUI:
Select a cluster from the navigation bar.
Click the Topics cluster submenu. The Topics page appears.
Click the topic name link. The Configuration page appears.
Click Edit settings -> Delete topic.
You are prompted to confirm deleting the topic. Type the topic name and click Continue. The topic is marked for deletion.
To cancel deleting the topic, click Close.