You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "fru1tworld (via GitHub)" <gi...@apache.org> on 2026/04/02 12:36:08 UTC

[PR] MINOR: Fix incorrect config name and stale links in Log Compaction docs [kafka]

fru1tworld opened a new pull request, #21942:
URL: https://github.com/apache/kafka/pull/21942

   The Log Compaction section incorrectly advised using the broker-level
   `log.cleanup.policy` to enable compaction on a particular topic. The
   correct topic-level property is `cleanup.policy`. This also resolves
   the self-contradiction where the next paragraph described
   `log.cleanup.policy` as a broker configuration.
   
   Additionally, replace legacy `/documentation.html#brokerconfigs` links
   with the current Hugo-based `/{version}/configuration/broker-configs`
   pattern.
   
   ### Changes
   
   - `docs/design/design.md`: Replace `log.cleanup.policy=compact` with `cleanup.policy=compact` in the per-topic configuration example
   - Add a note that the property can be set via `kafka-configs.sh`
   - Clarify the relationship between the broker-level `log.cleanup.policy` and the topic-level `cleanup.policy`
   - Update two stale `/documentation.html#brokerconfigs` links to `/{version}/configuration/broker-configs`
   
   ### Testing
   
   Documentation-only change. Verified with `./gradlew siteDocsTar --dry-run` (BUILD SUCCESSFUL). Confirmed the property names match the source code:
   - `TopicConfig.CLEANUP_POLICY_CONFIG = "cleanup.policy"` (topic-level)
   - `ServerLogConfigs.LOG_CLEANUP_POLICY_CONFIG` / `LOG_CLEANUP_POLICY_DEFAULT = "delete"` (broker-level default)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: Fix stale links in Log Compaction docs [kafka]

Posted by "github-actions[bot] (via GitHub) via jira" <ji...@kafka.apache.org>.
github-actions[bot] commented on PR #21942:
URL: https://github.com/apache/kafka/pull/21942#issuecomment-6594503852

   A label of 'needs-attention' was automatically added to this PR in order to raise the
   attention of the committers. Once this issue has been triaged, the `triage` label
   should be removed to prevent this automation from happening again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: Fix stale configuration links in the log cleaner docs [kafka]

Posted by "chia7712 (via GitHub) via jira" <ji...@kafka.apache.org>.
chia7712 merged PR #21942:
URL: https://github.com/apache/kafka/pull/21942


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: Fix incorrect config name and stale links in Log Compaction docs [kafka]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #21942:
URL: https://github.com/apache/kafka/pull/21942#issuecomment-6183886319

   This PR is being marked as stale since it has not had any activity in 90 days. If you
   would like to keep this PR alive, please leave a comment asking for a review. If the PR has 
   merge conflicts, update it with the latest from the base branch.
   <p>
   If you are having difficulty finding a reviewer, please reach out on the 
   [mailing list](https://kafka.apache.org/contact).
   <p>
   If this PR is no longer valid or desired, please feel free to close it. If no activity
   occurs in the next 30 days, it will be automatically closed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: Fix incorrect config name and stale links in Log Compaction docs [kafka]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #21942:
URL: https://github.com/apache/kafka/pull/21942#issuecomment-4230701416

   A label of 'needs-attention' was automatically added to this PR in order to raise the
   attention of the committers. Once this issue has been triaged, the `triage` label
   should be removed to prevent this automation from happening again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: Fix incorrect config name and stale links in Log Compaction docs [kafka]

Posted by "fru1tworld (via GitHub) via jira" <ji...@kafka.apache.org>.
fru1tworld commented on PR #21942:
URL: https://github.com/apache/kafka/pull/21942#issuecomment-6558734986

   This is still valid and has no conflicts with trunk. Could a committer take a look when you have a moment? It's a small docs fix (incorrect config name and stale links in the Log Compaction section).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: Fix incorrect config name and stale links in Log Compaction docs [kafka]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #21942:
URL: https://github.com/apache/kafka/pull/21942#issuecomment-4220256916

   A label of 'needs-attention' was automatically added to this PR in order to raise the
   attention of the committers. Once this issue has been triaged, the `triage` label
   should be removed to prevent this automation from happening again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: Fix incorrect config name and stale links in Log Compaction docs [kafka]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #21942:
URL: https://github.com/apache/kafka/pull/21942#issuecomment-4954384628

   A label of 'needs-attention' was automatically added to this PR in order to raise the
   attention of the committers. Once this issue has been triaged, the `triage` label
   should be removed to prevent this automation from happening again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: Fix incorrect config name and stale links in Log Compaction docs [kafka]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #21942:
URL: https://github.com/apache/kafka/pull/21942#issuecomment-4942420484

   This PR is being marked as stale since it has not had any activity in 90 days. If you
   would like to keep this PR alive, please leave a comment asking for a review. If the PR has 
   merge conflicts, update it with the latest from the base branch.
   <p>
   If you are having difficulty finding a reviewer, please reach out on the 
   [mailing list](https://kafka.apache.org/contact).
   <p>
   If this PR is no longer valid or desired, please feel free to close it. If no activity
   occurs in the next 30 days, it will be automatically closed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] MINOR: Fix incorrect config name and stale links in Log Compaction docs [kafka]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #21942:
URL: https://github.com/apache/kafka/pull/21942#issuecomment-6228956261

   A label of 'needs-attention' was automatically added to this PR in order to raise the
   attention of the committers. Once this issue has been triaged, the `triage` label
   should be removed to prevent this automation from happening again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org