---
title: "Kafka settings"
sidebar_label: "Settings"
description: "How to change Kafka settings"
sidebar_position: 4
toc_max_heading_level: 2
---

import Formbricks from '@theme/MDXComponents/Formbricks';

# Kafka settings

Kafka settings affect the stability and performance of the database cluster. When [creating a cluster](/managed-databases/kafka/create-cluster.mdx), default values are applied to the settings. These defaults are optimized for high performance and vary depending on the cluster configuration.

You can:

* view default setting values and change them when creating a cluster;
* or [view settings](#view-settings-list) and [change](#change-settings) 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 \{#view-settings-list}

You can view the list of settings available for modification when [creating a cluster](/managed-databases/kafka/create-cluster.mdx) or [changing settings](#change-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](https://kafka.apache.org/documentation/#configuration) section of the Kafka documentation.

1. In the [Dashboard](https://my.selectel.ru/vpc/default/dbaas/), 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 \{#change-settings}

:::danger

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. The reboot will start immediately after saving the changes. You can see a list of such settings in the [List of settings that require a reboot](#list-of-settings-that-require-reboot) subsection.

1. In the [Dashboard](https://my.selectel.ru/vpc/default/dbaas/), 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 \{#list-of-settings-that-require-reboot}

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

<Formbricks />
