Skip to main content

Kafka settings

Last update:

Kafka settings affect the stability and performance of the database cluster. When creating a cluster, default values are applied to the settings. These defaults are optimized for 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.

Detailed descriptions of all settings can be found in the Configuration section of the Kafka documentation.

  1. In the Dashboard, on the top menu, click Products and select Managed Databases.
  2. Open the Active tab.
  3. Open the cluster page → Settings tab.
  4. In the DBMS settings block, click Change.
  5. Optional: to view only the settings for which you have 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 reboot and will be unavailable during the reboot process. The reboot will start immediately after saving the changes. A list of such settings can be found in the List of settings that require a reboot subsection.

  1. In the Dashboard, on the top menu, click Products and select Managed Databases.
  2. Open the Active tab.
  3. Open the cluster page → Settings tab.
  4. In the DBMS settings block, click Change.
  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.