Create a Topic
After creating a cluster, you can create a topic for that cluster. Topic properties are populated from information stored in the broker. For Dedicated and BYOC clusters, you can optionally overwrite the default settings.
Property | Description | ||
---|---|---|---|
Partitions |
The number of partitions for the topic. |
||
Replication factor |
The number of partition replicas for the topic. Three replicas are recommended. The value for this property must meet or exceed the cluster’s
|
||
Cleanup policy |
The policy that determines how to clean up old log segments. The default is delete. |
||
Retention time |
The maximum length of time to keep messages in a topic. The default is 7 days. |
||
Retention size |
The maximum size of each partition. If a partition reaches this size and more messages are added, the oldest messages are deleted. The default is infinite. |
+ Under Additional Configuration, you can add more topic properties. See topic and partition properties.
-
Click Create.
The Topics page adds the topic you created to the list of topics.