tencent cloud

TDMQ for CKafka

Configuring Topic Global Properties

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2026-01-20 16:52:40
TDMQ for CKafka (CKafka) supports configuring topic global properties at the instance dimension. Global properties control the default initial values for new topics (including manual creation in the console and automatic creation by clients). Later, configurations can be modified individually for each topic.

Constraints and Limitations

Topic global properties only affect the default values of newly created topics and do not impact existing topics.

Operation Steps

1. Log in to the CKafka console.
2. In the left sidebar, click Instance List, and click ID/Name of the target instance to go to the instance details page.
3. In the Global field setting of a topic module, click Modify Configuration in the upper-right corner to set the property information.
Parameter
Default Value
Description
Message Retention Period
3
The retention period ranges from 1 minute to 90 days. Messages that exceed the configured retention period are deleted to free up disk space.
Max Message Size
8
The maximum allowed size for a single message, ranging from 1 KB to 12 MB. When sending data, the client aggregates messages destined for the same partition and transmits them together, while the server compares the size of each batch of messages.
UncleanLeaderElectionEnable
true
Whether to allow electing a new leader from out-of-sync replicas (OSRs).
true: allows electing a leader from the OSRs, prioritizing availability.
false: only allows electing a leader from in-sync replicas (ISRs), prioritizing data consistency.
4. Click Submit to complete the settings.


Ajuda e Suporte

Esta página foi útil?

comentários