tencent cloud

TDMQ for CKafka

Configuring Topic Global Properties

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 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.


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백