diff --git a/docs/commands/rhoas_kafka_topic_create.md b/docs/commands/rhoas_kafka_topic_create.md index 4efe7f28b..3c5f40925 100644 --- a/docs/commands/rhoas_kafka_topic_create.md +++ b/docs/commands/rhoas_kafka_topic_create.md @@ -28,7 +28,8 @@ $ rhoas kafka topic create --name topic-1 --name string Topic name -o, --output string Specify the output format. Choose from: "json", "yaml", "yml" --partitions int32 The number of partitions in the topic (default 1) - --retention-bytes int The maximum total size of a partition log segments before old log segments are deleted to free up space (default -1) + --retention-bytes int The maximum total size of a partition log segments before old log segments are deleted to free up space. + Value of -1 is set by default indicating no retention size limits. (default -1) --retention-ms int The period of time in milliseconds the broker will retain a partition log before deleting it (default 604800000) ``` diff --git a/docs/commands/rhoas_kafka_topic_update.md b/docs/commands/rhoas_kafka_topic_update.md index 1ed1758f7..c7bcb3e9b 100644 --- a/docs/commands/rhoas_kafka_topic_update.md +++ b/docs/commands/rhoas_kafka_topic_update.md @@ -25,7 +25,8 @@ $ rhoas kafka topic update --name topic-1 --retention-ms -1 --cleanup-policy string Determines whether log messages are deleted, compacted, or both --name string Topic name --partitions string The number of partitions in the topic - --retention-bytes string The maximum total size of a partition log segments before old log segments are deleted to free up space + --retention-bytes string The maximum total size of a partition log segments before old log segments are deleted to free up space. + Value of -1 is set by default indicating no retention size limits. --retention-ms string The period of time in milliseconds the broker will retain a partition log before deleting it ``` diff --git a/pkg/core/localize/locales/en/cmd/kafka.en.toml b/pkg/core/localize/locales/en/cmd/kafka.en.toml index 423e7bcda..ac338db31 100644 --- a/pkg/core/localize/locales/en/cmd/kafka.en.toml +++ b/pkg/core/localize/locales/en/cmd/kafka.en.toml @@ -499,7 +499,8 @@ one = 'The period of time in milliseconds the broker will retain a partition log [kafka.topic.common.input.retentionBytes.description] description = 'Description for the Retention size input' -one = 'The maximum total size of a partition log segments before old log segments are deleted to free up space' +one = '''The maximum total size of a partition log segments before old log segments are deleted to free up space. +Value of -1 is set by default indicating no retention size limits.''' [kafka.topic.common.input.cleanupPolicy.description] description = 'Description for the Cleanup policy input'