Docs
ukafka
Operation Guide
Cluster Management
Cluster Parameter Configuration

Cluster Parameter Configuration

The modification of cluster parameter configuration must be restarted before it takes effect. You can choose to “Restart Now” or “Restart Later” according to the actual situation.

”Restart Now”: The cluster restart operation is performed immediately, all nodes will be restarted one after another, and the service will not be interrupted during the restart. It is recommended to operate during off-peak business hours. After restarting, the new parameters will take effect immediately. “Restart Later”: The new parameters will take effect after the node service is restarted next time; if you need some parameters to take effect immediately without restarting the service, you can modify the related configuration for a single Topic on the Topic Management page.

  • On the UKafka cluster list or detail page, click on “Cluster Configuration” to enter the cluster parameter configuration information page.
  • Modify the cluster parameter configuration as needed

The parameters that can be configured for the cluster are shown in the following table:

Parameter NameParameter TypeRangeDescription
auto.create.topics.enablebooltrue/falseWhether to allow automatic creation of Topics
auto.leader.rebalance.enablebooltrue/falseWhether to enable data balance between nodes
default.replication.factorint1-10Number of default replication factors (number of Topic partition replicas)
delete.topic.enablebooltrue/falseWhether to allow deletion of topic information
log.cleanup.policystringdelete/compactLog cleanup policy, delete/compact
log.retention.hoursint1-10000Minimum log retention time
message.max.bytesint1-2147483646Maximum size of the message body
num.io.threadsint1-32Number of threads handling disk IO
num.network.threadsint1-32Number of threads handling network requests
num.partitionsint1-1000Number of partitions
replica.fetch.max.bytesint1-2147483646Maximum size of messages during replica synchronization

Points to note:
auto.create.topics.enable Production business is recommended to be turned off to avoid affecting the stable operation of the online environment.
default.replication.factor Must be at least 2, otherwise, it cannot guarantee service high availability.
replica.fetch.max.bytes Should be greater than or equal to message.max.bytes.
num.io.threads and num.network.threads Can control the node load and cluster performance balance.

  • After the parameters have been modified, click on “Confirm” to enter the restart strategy page. Choose “Restart Now” or “Restart Later” as needed.