To ensure data reliability, you are recommended to choose two or three replicas for data storage when creating a topic. Currently, CKafka has banned the creation of single-replica topics. If you have a single-replica topic in your account, please migrate it as follows:
Not necessarily. Message deletion is related to not only the retention period configuration but also the data size of produced messages.
CKafka's smallest unit for heaped message deletion is partition-level file shard. The current file shard size is 1 GB. If the message heap does not reach the size of one file shard, the messages will not be deleted. If there are 10 partitions, and their total size does not reach 10 GB within 1 minute, then files will not be rolled, and messages will not be deleted.
Currently, CKafka supports the open-source API for automatic topic creation. On the instance list page, click an instance ID to enter the instance details page. On the Basic Info tab there, view or edit the configuration information, message retention period, and automatic topic creation of the instance.
CKafka uses exactly the same mechanism and principle as open-source Kafka. You can troubleshoot the problem in the following steps: