Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Solutions
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Managed Service for Apache Kafka®
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Information about existing clusters
    • Creating clusters
    • Connecting to clusters
    • Stopping and starting clusters
    • Changing cluster settings
    • Working with topics and partitions
    • Managing Kafka accounts
    • Deleting clusters
  • Concepts
    • Relationship between service resources
    • Topics and partitions
    • Brokers
    • Producers and consumers
    • Host classes
    • Network in Managed Service for Apache Kafka®
    • Quotas and limits
    • Storage types
  • Access management
  • Pricing policy
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • ClusterService
      • ResourcePresetService
      • TopicService
      • UserService
      • OperationService
    • REST
      • Overview
      • Cluster
        • Overview
        • create
        • delete
        • get
        • list
        • listHosts
        • listLogs
        • listOperations
        • move
        • start
        • stop
        • streamLogs
        • update
      • ResourcePreset
        • Overview
        • get
        • list
      • Topic
        • Overview
        • create
        • delete
        • get
        • list
        • update
      • User
        • Overview
        • create
        • delete
        • get
        • grantPermission
        • list
        • revokePermission
        • update
      • Operation
        • Overview
        • get
  • Questions and answers
  1. Step-by-step instructions
  2. Changing cluster settings

Changing cluster settings

  • Update the configuration
  • Move a cluster

After creating an Apache Kafka® cluster, you can:

  • Update the cluster configuration.
  • Move the cluster from the current folder to another one.

Warning

If the cluster has dedicated ZooKeeper hosts, you can't change their class or settings. For more information, see Relationship between service resources.

Update the configuration

Warning

The number of Apache Kafka® broker hosts can only be increased.

Management console
API
  1. Go to the folder page and select Managed Service for Apache Kafka®.

  2. Select the cluster and click Edit in the top panel.

  3. Change the required settings:

    • To change the class of broker hosts, select a new host class in the corresponding section.
    • To change storage settings, select the storage type and its size in the corresponding section.
    • To change the number of broker hosts in each availability zone that was chosen when creating a cluster, change the value of the corresponding setting.
  4. Click Save.

Use the update API method and pass the following in the request:

  • The cluster ID in the clusterId parameter. To find out the cluster ID, get a list of clusters in the folder.
  • In the updateMask parameter, a list of settings to update (in a single line, comma-separated). If this parameter is omitted, the API method resets any cluster settings that aren't explicitly specified in the request to their default values.
  • The new cluster configuration in the configSpec parameter.

Move a cluster

API

To move a cluster from the current folder to a different one, use the move API method and pass the following in the request:

  • The cluster ID in the clusterId parameter. To find out the cluster ID, get a list of clusters in the folder.
  • The ID of the destination folder in the destinationFolderId parameter.
In this article:
  • Update the configuration
  • Move a cluster
Language / Region
Careers
Privacy policy
Terms of use
Brandbook
© 2021 Yandex.Cloud LLC