tencent cloud

Configure Topic Global Field Settings
Last updated:2025-09-19 17:33:13
Configure Topic Global Field Settings
Last updated: 2025-09-19 17:33:13
TDMQ for CKafka supports configuring Topic Global Field Settings at the instance level. These settings control the default initial values for new Topics (including manual creation in the console and auto-creation by clients). You can modify the configuration for individual Topics subsequently.

Restrictions and Limitations

Topic Global Field Settings only affect the default values of new Topics and are unaffected by existing Topics.

Operation Steps

1. Log in to the CKafka console.
2. Click instance list in the left sidebar, click the ID/Name of the target instance, and go to the instance details page.
3. In the Topic Global Field Settings module, click Modify configuration in the upper right corner to set attributes.
Parameter
Default Value
Description
Message retention period
3
The range is from 1 minute to 90 days. Messages will be deleted if they exceed the set retention duration to preserve sufficient disk space.
max message size
8
The upper limit for a single message is 1KB to 12MB. When sending data, the client aggregates data sent to the same partition into batches. The server compares the size of each batch.
UncleanLeaderElectionEnable
true
Whether to allow electing a new Leader from Out-of-Sync Replicas (OSR).
true: Allow electing a Leader from OSR, giving priority to availability.
false: Only allow electing a Leader from In-Sync Replicas (ISR), giving priority to data consistency.
4. Click Submit to complete the settings.

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback