Kafka settings
Kafka settings affect the stability and performance of the database cluster. When creating a cluster, settings are set to their default values. The default values are chosen to ensure high cluster performance and differ 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.
- In the Dashboard, on the top menu, click Products and select Managed Databases.
- Open the Active tab.
- Open the cluster page → Settings tab.
- In the DBMS settings block, click Change.
- Optional: to view only the settings for which you have changed the default value, select the Show modified parameters checkbox.
- View settings.
Change settings
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 while it reboots. The restart will begin immediately after you save your changes. A list of such settings can be viewed in the List of settings that require a reboot.
- In the Dashboard, on the top menu, click Products and select Managed Databases.
- Open the Active tab.
- Open the cluster page → Settings tab.
- In the DBMS settings block, click Change.
- Specify new values.
- 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.