yc managed-kafka topic update
Modify attributes of a Kafka topic.
Command Usage
Syntax:
yc managed-kafka topic update <TOPIC-NAME> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
Kafka cluster id. |
|
|
Kafka cluster name. |
|
|
Number of partitions. |
|
|
Replication factor. |
|
|
Allows to set topic configuration property "cleanup.policy". Possible values are: compact, delete, compact_and_delete. |
|
|
Allows to set topic configuration property "compression.type". Possible values are: gzip, snappy, lz4, zstd, producer, uncompressed. |
|
|
Allows to set topic configuration property "delete.retention.ms". The amount of time in milliseconds to retain delete tombstone markers for log compacted topics. |
|
|
Allows to set topic configuration property "file.delete.delay.ms". The time to wait before deleting a file from the filesystem. |
|
|
Allows to set topic configuration property "flush.messages". The number of messages accumulated on a log partition before messages are flushed to disk. |
|
|
Allows to set topic configuration property "flush.ms". The maximum time in milliseconds that a message in the topic is kept in memory before flushed to disk. |
|
|
Allows to set topic configuration property "min.compaction.lag.ms". The minimum time in milliseconds a message will remain uncompacted in the log. |
|
|
Allows to set topic configuration property "retention.bytes". The maximum size a partition can grow to before Kafka will discard old log segments to free up space if the delete [cleanup_policy] is in effect. It is helpful if you need to control the size of log due to limited disk space. |
|
|
Allows to set topic configuration property "retention.ms". The number of milliseconds to keep a log segment's file before deleting it. |
|
|
Allows to set topic configuration property "max.message.bytes". The largest record batch size allowed in topic. |
|
|
Allows to set topic configuration property "min.insync.replicas". This configuration specifies the minimum number of replicas that must acknowledge a write to topic for the write to be considered successful (when a producer sets acks to "all"). |
|
|
Allows to set topic configuration property "segment.bytes". This configuration controls the segment file size for the log. Retention and cleaning is always done a file at a time so a larger segment size means fewer files but less granular control over retention. |
|
|
Allows to set topic configuration property "message.timestamp.type". This configuration specifies which timestamp to use for messages - message creation time or log append time. Possible values are: create_time, log_append_time. |
|
|
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. |