yc managed-kafka cluster create
Create Kafka cluster
Command Usage
Syntax:
yc managed-kafka cluster create <CLUSTER-NAME> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
Name of the Kafka cluster. |
|
|
Description of the cluster. |
|
|
Environment to deploy the cluster in. Supported values: 'production', 'prestable'. |
|
|
A list of Kafka cluster labels as key-value pairs. |
|
|
Network id. |
|
|
Network name. |
|
|
Allow access for DataTransfer |
|
|
Enables REST API on kafka cluster |
|
|
Enables Kafka UI on kafka cluster |
|
|
Version of the Kafka server software. |
|
|
List of availability zones. |
|
|
Count of brokers in each availability zone. |
|
|
Resource preset for computational resources available to a Kafka host (CPU, RAM etc.). |
|
|
Storage volume available to a Kafka host in GB. |
|
|
Storage type of a Kafka host. |
|
|
Resource preset for computational resources available to a ZooKeeper host (CPU, RAM etc.). |
|
|
Storage volume available to a ZooKeeper host in GB. |
|
|
Storage type of a ZooKeeper host. |
|
|
Resource preset for computational resources available to a KRaft-controller host (CPU, RAM etc.). |
|
|
Storage volume available to a KRaft-controller host in GB. |
|
|
Storage type of a KRaft-controller host. |
|
|
Whether a Kafka brokers should get a public IP address. |
|
|
Enables managed Schema Registry sevice. |
|
|
Optional list of subnets to place nodes of the cluster in. If not specified nodes will be placed in arbitrary subnets of the given network within given availability zones. |
|
|
A list of security groups for the Kafka cluster. |
|
|
A list of host groups to place VMs of cluster on. |
|
|
Deletion Protection inhibits deletion of the cluster. |
|
|
ID of the key to encrypt cluster disks. |
|
|
Allows to set Kafka cluster configuration property "compression.type". Possible values are: gzip, snappy, lz4, zstd, producer, uncompressed. |
|
|
Allows to set Kafka cluster configuration property "log.flush.interval.messages". The number of messages accumulated on a log partition before messages are flushed to disk. |
|
|
Allows to set Kafka cluster configuration property "log.flush.interval.ms". The maximum time in ms that a message in any topic is kept in memory before flushed to disk. |
|
|
Allows to set Kafka cluster configuration property "log.flush.scheduler.interval.ms". The frequency in ms that the log flusher checks whether any log needs to be flushed to disk. |
|
|
Allows to set Kafka cluster configuration property "log.retention.bytes". The maximum size of the log before deleting it. |
|
|
Allows to set Kafka cluster configuration property "log.retention.hours". The number of hours to keep a log file before deleting it. |
|
|
Allows to set Kafka cluster configuration property "log.retention.minutes". The number of minutes to keep a log file before deleting it. |
|
|
Allows to set Kafka cluster configuration property "log.retention.ms". The number of milliseconds to keep a log file before deleting it. |
|
|
Allows to set Kafka cluster configuration property "log.segment.bytes". The maximum size of a single log file. |
|
|
Allows to set Kafka cluster configuration property "auto.create.topics.enable". Enable auto creation of topic on the server. |
|
|
Allows to set Kafka cluster configuration property "num.partitions". Default number of partitions per topic on the whole cluster. |
|
|
Allows to set Kafka cluster configuration property "default.replication.factor". Default replication factor of the topic on the whole cluster. |
|
|
Allows to set Kafka cluster configuration property "message.max.bytes". This is the largest size of the message that can be received by the broker from a producer. Must be not more then "replica.fetch.max.bytes" configuration property of this Kafka cluster. Default value: 1048588. |
|
|
Allows to set Kafka cluster configuration property "replica.fetch.max.bytes". Buffer size for inter-broker message replication. Must be not less then "message.max.bytes" configuration property of this Kafka cluster and "max.message.bytes" configuration property of all topics into this Kafka cluster. Default value: 1048576. |
|
|
Allows to set Kafka cluster configuration property "offsets.retention.minutes". Offset storage time after a consumer group loses all its consumers. Default value: 10080. |
|
|
Allows to set Kafka cluster configuration property "ssl.cipher.suites". List of all valid cipher suites for this cluster, separated by comma. |
|
|
Maintenance window settings Possible property names:
|
|
|
Disk size autoscaling settings Possible property names:
|
|
|
Allows to set Kafka cluster configuration property "sasl.enabled.mechanisms". List of all valid sasl enabled mechanisms for this cluster, separated by comma. |
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |