Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improve][broker] Add annotation for topic compaction strategy #20858

Conversation

Demogorgon314
Copy link
Member

@Demogorgon314 Demogorgon314 commented Jul 24, 2023

Motivation

Add Audience.Private annotation for topic compaction strategy. Since this interface only uses for load manager, other users should not use this interface.

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

@github-actions

This comment was marked as resolved.

@github-actions github-actions bot added doc-not-needed Your PR changes do not impact docs and removed doc-label-missing labels Jul 24, 2023
@Demogorgon314
Copy link
Member Author

@heesung-sn Can you help review this PR?

@RobertIndie
Copy link
Member

One concern is that if we want to cherry-pick this PR to branch-3.0 and some users use this API for their ecosystem, this may break the upgrade from 3.0.0 to 3.0.1.

After discussing with @Demogorgon314, this interface is only used inside the Pulsar Java client and Pulsar broker. The user is not able to use it. This also doesn't affect the upgrade of the pulsar from 3.0.0 to 3.0.1

@RobertIndie RobertIndie added the release/blocker Indicate the PR or issue that should block the release until it gets resolved label Jul 24, 2023
@heesung-sn
Copy link
Contributor

heesung-sn commented Jul 24, 2023

Can you share any reference about these annotations?

@RobertIndie RobertIndie merged commit e55ed58 into apache:master Jul 26, 2023
RobertIndie pushed a commit that referenced this pull request Jul 26, 2023
### Motivation

Add `Audience.Private` annotation for topic compaction strategy. Since this interface only uses for load manager, other users should not use this interface.

(cherry picked from commit e55ed58)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/broker cherry-picked/branch-3.0 doc-not-needed Your PR changes do not impact docs ready-to-test release/blocker Indicate the PR or issue that should block the release until it gets resolved release/3.0.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants