Skip to content

Conversation

@AnonHxy
Copy link
Contributor

@AnonHxy AnonHxy commented Jul 27, 2022

Motivation

There is only a simple word Default message retention time/size on defaultRetentionTimeInMinutes=0 and defaultRetentionSizeInMB=0 in broker.conf.

I think it is not clear for users because 0 and -1 are both special numbers but have different meaning here. It is easliy that new users maybe mistaken thought a value of 0 means limit as "infinite" size quota , but in fact direct opposite.

Modifications

  • Improve defaultRetentionTimeInMinutes and defaultRetentionSizeInMB doc on *.conf and *.md and ServiceConfiguration.java

Verifying this change

  • Make sure that the change passes the CI checks.

Documentation

Check the box below or label this PR directly.

Need to update docs?

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

@codelipenghui codelipenghui added this to the 2.12.0 milestone Aug 8, 2022
@codelipenghui codelipenghui added the doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. label Aug 8, 2022
@AnonHxy AnonHxy force-pushed the doc_default_retention branch 4 times, most recently from 96f338c to 22e8aca Compare August 9, 2022 06:14
Copy link
Member

@Anonymitaet Anonymitaet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! LGTM from the technical writing perspective 😊

@AnonHxy AnonHxy force-pushed the doc_default_retention branch 2 times, most recently from eef9716 to 7d412b4 Compare August 20, 2022 04:21
@AnonHxy
Copy link
Contributor Author

AnonHxy commented Aug 24, 2022

/pulsarbot run-failure-checks

@AnonHxy AnonHxy force-pushed the doc_default_retention branch from 7d412b4 to 80a576b Compare August 24, 2022 14:08
@yuruguo yuruguo merged commit 187bf48 into apache:master Aug 25, 2022
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Aug 29, 2022
…tionSizeInMB doc (apache#16824)

* Improve retention doc

* address comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants