Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
Yandex Managed Service for Apache Kafka®
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Information about existing clusters
    • Creating clusters
    • Connecting to a cluster
    • Stopping and starting clusters
    • Upgrading the Apache Kafka® version
    • Changing cluster settings
    • Managing Apache Kafka® hosts
    • Working with topics and partitions
    • Managing Apache Kafka® users
    • Managing connectors
    • Viewing cluster logs
    • Deleting clusters
    • Monitoring the state of clusters and hosts
  • Practical guidelines
    • All tutorials
    • Setting up Kafka Connect to work with Managed Service for Apache Kafka®
    • Using data format schemas with Managed Service for Apache Kafka®
      • Overview
      • Working with the managed schema registry
      • Using Confluent Schema Registry with Managed Service for Apache Kafka®
    • Migrating databases from a third-party Apache Kafka® cluster
    • Moving data between Managed Service for Apache Kafka® clusters using Yandex Data Transfer
    • Delivering data from Managed Service for Apache Kafka® using Debezium
    • Delivering data from Yandex Managed Service for MySQL using Debezium
    • Delivering data from Managed Service for Apache Kafka® with Yandex Data Transfer
    • Delivering data to Managed Service for ClickHouse
    • Data delivery in ksqlDB
    • Delivering data to Yandex Managed Service for YDB using Yandex Data Transfer
  • Concepts
    • Relationships between service resources
    • Topics and partitions
    • Brokers
    • Producers and consumers
    • Managing data schemas
    • Host classes
    • Network in Managed Service for Apache Kafka®
    • Quotas and limits
    • Disk types
    • Connectors
    • Maintenance
    • Apache Kafka® settings
  • Access management
  • Pricing policy
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • ClusterService
      • ConnectorService
      • ResourcePresetService
      • TopicService
      • UserService
      • OperationService
    • REST
      • Overview
      • Cluster
        • Overview
        • create
        • delete
        • get
        • list
        • listHosts
        • listLogs
        • listOperations
        • move
        • rescheduleMaintenance
        • start
        • stop
        • streamLogs
        • update
      • Connector
        • Overview
        • create
        • delete
        • get
        • list
        • pause
        • resume
        • update
      • ResourcePreset
        • Overview
        • get
        • list
      • Topic
        • Overview
        • create
        • delete
        • get
        • list
        • update
      • User
        • Overview
        • create
        • delete
        • get
        • grantPermission
        • list
        • revokePermission
        • update
      • Operation
        • Overview
        • get
  • Revision history
  • Questions and answers
  1. API reference
  2. gRPC
  3. ResourcePresetService

Managed Service for Apache Kafka® API, gRPC: ResourcePresetService

Written by
Yandex Cloud
  • Calls ResourcePresetService
  • Get
    • GetResourcePresetRequest
    • ResourcePreset
  • List
    • ListResourcePresetsRequest
    • ListResourcePresetsResponse
    • ResourcePreset

A set of methods for managing Kafka resource presets.

Call Description
Get Returns the specified resource preset.
List Retrieves the list of available resource presets.

Calls ResourcePresetService

Get

Returns the specified resource preset.
To get the list of available resource presets, make a List request.

rpc Get (GetResourcePresetRequest) returns (ResourcePreset)

GetResourcePresetRequest

Field Description
resource_preset_id string
Required. ID of the resource preset to return.
To get the resource preset ID, use a ResourcePresetService.List request.

ResourcePreset

Field Description
id string
ID of the resource preset.
zone_ids[] string
IDs of availability zones where the resource preset is available.
cores int64
Number of CPU cores for a Kafka broker created with the preset.
memory int64
RAM volume for a Kafka broker created with the preset, in bytes.

List

Retrieves the list of available resource presets.

rpc List (ListResourcePresetsRequest) returns (ListResourcePresetsResponse)

ListResourcePresetsRequest

Field Description
page_size int64
The maximum number of results per page to return.
If the number of available results is larger than page_size, the service returns a ListResourcePresetsResponse.next_page_token that can be used to get the next page of results in subsequent list requests. The maximum value is 1000.
page_token string
Page token.
To get the next page of results, set page_token to the ListResourcePresetsResponse.next_page_token, returned by the previous list request. The maximum string length in characters is 100.

ListResourcePresetsResponse

Field Description
resource_presets[] ResourcePreset
List of resource presets.
next_page_token string
This token allows you to get the next page of results for list requests.
If the number of results is larger than ListResourcePresetsRequest.page_size, use next_page_token as the value for the ListResourcePresetsRequest.page_token parameter in the next list request. Each subsequent list request will have its own next_page_token to continue paging through the results. The maximum string length in characters is 100.

ResourcePreset

Field Description
id string
ID of the resource preset.
zone_ids[] string
IDs of availability zones where the resource preset is available.
cores int64
Number of CPU cores for a Kafka broker created with the preset.
memory int64
RAM volume for a Kafka broker created with the preset, in bytes.

Was the article helpful?

Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
In this article:
  • Calls ResourcePresetService
  • Get
  • GetResourcePresetRequest
  • ResourcePreset
  • List
  • ListResourcePresetsRequest
  • ListResourcePresetsResponse
  • ResourcePreset