diff options
author | alextarazanov <alextarazanov@yandex-team.com> | 2022-10-11 11:37:12 +0300 |
---|---|---|
committer | alextarazanov <alextarazanov@yandex-team.com> | 2022-10-11 11:37:12 +0300 |
commit | 9437f67b927dc4a5c12ce2ba8eb8137c0343031b (patch) | |
tree | 3891e57f2c8274ef31392e2024c326c0fd1e3464 | |
parent | 128195d32b1e2057a59cb74b66a2144f6d1e1853 (diff) | |
download | ydb-9437f67b927dc4a5c12ce2ba8eb8137c0343031b.tar.gz |
[review] [YDB] ydb topic alter check translate
-rw-r--r-- | ydb/docs/en/core/reference/ydb-cli/topic-alter.md | 9 | ||||
-rw-r--r-- | ydb/docs/en/core/reference/ydb-cli/topic-create.md | 10 |
2 files changed, 13 insertions, 6 deletions
diff --git a/ydb/docs/en/core/reference/ydb-cli/topic-alter.md b/ydb/docs/en/core/reference/ydb-cli/topic-alter.md index 4b3f0ce609f..c190e9db22c 100644 --- a/ydb/docs/en/core/reference/ydb-cli/topic-alter.md +++ b/ydb/docs/en/core/reference/ydb-cli/topic-alter.md @@ -24,9 +24,12 @@ The command changes the values of parameters specified in the command line. The | Name | Description | ---|--- -| `--partitions-count VAL` | The number of topic [partitions](../../concepts/topic.md#partitioning). You can only increase the number of partitions. | -| `--retention-period-hours VAL` | The retention period for topic data, in hours. | -| `--supported-codecs STRING` | Supported data compression methods. <br>Possible values:<ul><li>`RAW`: Without compression.</li><li>`ZSTD`: [zstd](https://ru.wikipedia.org/wiki/Zstandard) compression.</li><li>`GZIP`: [gzip](https://ru.wikipedia.org/wiki/Gzip) compression.</li><li>`LZOP`: [lzop](https://ru.wikipedia.org/wiki/Lzop) compression.</li></ul> | +| `--partitions-count` | The number of topic [partitions](../../concepts/topic.md#partitioning). You can only increase the number of partitions. | +| `--retention-period-hours` | The retention period for topic data, in hours. | +| `--partition-write-speed-kbps` | The maximum write speed to a [partition](../../concepts/topic.md#partitioning), specified in KB/s.<br>The default value is `1024`. | +| `--retention-storage-mb` | The maximum storage size, specified in MB. When the limit is reached, the oldest data will be deleted.<br>The default value is `0` (no limit). | +| `--supported-codecs` | Supported data compression methods.<br>Possible values:<ul><li>`RAW`: No compression.</li><li>`ZSTD`: [zstd](https://en.wikipedia.org/wiki/Zstandard) compression.</li><li>`GZIP`: [gzip](https://en.wikipedia.org/wiki/Gzip) compression.</li><li>`LZOP`: [lzop](https://en.wikipedia.org/wiki/Lzop) compression.</li></ul> | +| `--metering-mode` | The topic pricing method for a serverless database.<br>Possible values:<ul><li>`request-units`: Based on actual usage.</li><li>`reserved-capacity`: Based on dedicated resources.</li></ul> | ## Examples {#examples} diff --git a/ydb/docs/en/core/reference/ydb-cli/topic-create.md b/ydb/docs/en/core/reference/ydb-cli/topic-create.md index 061dab9f763..b9f63a5aea4 100644 --- a/ydb/docs/en/core/reference/ydb-cli/topic-create.md +++ b/ydb/docs/en/core/reference/ydb-cli/topic-create.md @@ -22,9 +22,13 @@ View the description of the create topic command: | Name | Description | ---|--- -| `--partitions-count VAL` | The number of topic [partitions](../../concepts/topic.md#partitioning).<br>The default value is `1`. | -| `--retention-period-hours VAL` | Data retention time in a topic, set in hours.<br>The default value is `18`. | -| `--supported-codecs STRING` | Supported data compression methods.<br>The default value is `raw,zstd,gzip,lzop`.<br>Possible values:<ul><li>`RAW`: Without compression.</li><li>`ZSTD`: [zstd](https://ru.wikipedia.org/wiki/Zstandard) compression.</li><li>`GZIP`: [gzip](https://ru.wikipedia.org/wiki/Gzip) compression.</li><li>`LZOP`: [lzop](https://ru.wikipedia.org/wiki/Lzop) compression.</li></ul> | +| `--partitions-count` | The number of topic [partitions](../../concepts/topic.md#partitioning).<br>The default value is `1`. | +| `--retention-period-hours` | Data retention time in a topic, set in hours.<br>The default value is `18`. | +| `--partition-write-speed-kbps` | The maximum write speed to a [partition](../../concepts/topic.md#partitioning), specified in KB/s.<br>The default value is `1024`. | +| `--retention-storage-mb` | The maximum storage size, specified in MB. When the limit is reached, the oldest data will be deleted.<br>The default value is `0` (no limit). | +| `--supported-codecs` | Supported data compression methods.<br>The default value is `raw,zstd,gzip,lzop`.<br>Possible values:<ul><li>`RAW`: No compression.</li><li>`ZSTD`: [zstd](https://en.wikipedia.org/wiki/Zstandard) compression.</li><li>`GZIP`: [gzip](https://en.wikipedia.org/wiki/Gzip) compression.</li><li>`LZOP`: [lzop](https://en.wikipedia.org/wiki/Lzop) compression.</li></ul> | +| `--metering-mode` | The topic pricing method for a serverless database.<br>Possible values:<ul><li>`request-units`: Based on actual usage.</li><li>`reserved-capacity`: Based on dedicated resources.</li></ul> | + ## Examples {examples} |