Skip to content

Conversation

@Shawyeok
Copy link
Contributor

@Shawyeok Shawyeok commented Nov 8, 2025

Motivation

Fix #24391 (comment)

  • managedCursorInfoCompressionThresholdInBytes
  • managedLedgerInfoCompressionThresholdInBytes

These two configurations were cherry-picked from #24391. However, the metadata size–based threshold compression feature introduced in PIP-270 is not included in the 3.0.x branch.

Therefore, these two configurations don’t have any effect in the 3.0.x branch and should be deleted to avoid confusing users.

Verifying this change

  • Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

The metadata size–based threshold compression was introduced in [PIP-270](https://github.com/apache/pulsar/issues/20307), which isn’t included in `3.0.x`.

Therefore, **these two configurations don’t have any effect** in the `3.0.x` branch:
- managedCursorInfoCompressionThresholdInBytes
- managedLedgerInfoCompressionThresholdInBytes
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes non-functional configuration properties for compression threshold settings from broker and standalone configuration files. The removed properties (managedCursorInfoCompressionThresholdInBytes and managedLedgerInfoCompressionThresholdInBytes) are not defined in the Java codebase and therefore have no effect.

Key changes:

  • Removed duplicate/unused compression threshold configuration entries from configuration files
  • Cleaned up configuration documentation by removing references to non-existent properties

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
conf/broker.conf Removed two non-functional compression threshold configuration entries with documentation
conf/standalone.conf Removed two non-functional compression threshold configuration entries with documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lhotari lhotari changed the title Remove no-op configurations caused by cherry-picking [cleanup][broker][branch-3.0] Remove no-op configurations caused by cherry-picking Nov 8, 2025
@lhotari lhotari merged commit 81a9d0d into apache:branch-3.0 Nov 8, 2025
8 checks passed
nodece pushed a commit to nodece/pulsar that referenced this pull request Nov 12, 2025
manas-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 13, 2025
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants