Skip to main content

Kafka settings

Kafka settings affect the health and performance of the database cluster. When creating a cluster, the settings are set to default values. Default values are selected to ensure high cluster performance and vary depending on the cluster configuration.

You can:

  • view default setting values and change them when creating a cluster;
  • or view settings and change them in an existing cluster.

We recommend changing setting values only when necessary—incorrect values can render the cluster inoperable or reduce its performance.

View the list of settings

You can view the list of settings available for modification when creating a cluster or changing settings.

If you have changed the settings, you can separately view a list of settings whose values differ from the default ones.

You can find a detailed description of all settings in the Configuration section of the Kafka documentation.

  1. In the Control panel, in the top menu, click Products and select Cloud Databases.
  2. Open the Active tab.
  3. Open the cluster page → Settings tab.
  4. In the DBMS settings block, click Edit.
  5. Optional: to view only the settings where you changed the default value, select the Show modified parameters checkbox.
  6. View settings.

Change settings

carefully

We recommend changing setting values only when necessary—incorrect values can render the cluster inoperable or reduce its performance.

After changing some settings, the cluster will automatically restart and will be unavailable during the reboot. The reboot will start immediately after saving the changes. You can view the list of such settings in the List of settings that require reboot subsection.

  1. In the Control panel, in the top menu, click Products and select Cloud Databases.
  2. Open the Active tab.
  3. Open the cluster page → Settings tab.
  4. In the DBMS settings block, click Edit.
  5. Specify new values.
  6. Click Save.

List of settings that require a reboot

  • log.retention.hours;
  • log.retention.minutes;
  • num.partitions;
  • offsets.retention.minutes;
  • socket.receive.buffer.bytes;
  • socket.send.buffer.bytes.