confluent kafka cluster create¶
説明¶
Kafka クラスターを作成します。
注: AWS PrivateLink で構成されたクラスターをこのコマンドを使用して作成することはできません。この構成のクラスターを作成するには UI を使用する必要があります。
confluent kafka cluster create <name> [flags]
フラグ¶
--cloud string REQUIRED: Cloud provider (aws, azure, gcp).
--region string REQUIRED: Cloud region ID for cluster (use "confluent kafka region list" to see all).
--availability string Availability of the cluster. Allowed Values: single-zone, multi-zone. (default "single-zone")
--type string Type of the Kafka cluster. Allowed values: basic, standard, dedicated. (default "basic")
--cku int Number of Confluent Kafka Units (non-negative). Required for Kafka clusters of type 'dedicated'.
--encryption-key string Encryption Key ID (e.g. for Amazon Web Services, the Amazon Resource Name of the key).
--context string CLI context name.
--environment string Environment ID.
-o, --output string Specify the output format as "human", "json", or "yaml". (default "human")
グローバルフラグ¶
-h, --help Show help for this command.
-v, --verbose count Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
例¶
ユーザーが管理する暗号化キーを AWS で使用する専用クラスターを新規に作成します。
confluent kafka cluster create sales092020 --cloud "aws" --region "us-west-2" --type "dedicated" --cku 1 --encryption-key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
詳しくは、https://docs.confluent.io/current/cloud/clusters/byok-encrypted-clusters.html を参照してください。
関連情報¶
- confluent kafka cluster - Kafka クラスターを管理します。