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

[Issue 9173] [Non Persistent Topics] Auto-create partitions even when the auto-creation is disabled #9786

Merged
merged 1 commit into from
Mar 8, 2021

Conversation

mlyahmed
Copy link
Contributor

@mlyahmed mlyahmed commented Mar 3, 2021

Related to #9173
Master Issue: #9173

Motivation

Please see #9173

Modifications

When the BrokerService is about to create a non-persistent topic it checks if it is a partition and if so, even the auto-creation is disabled, it creates it.

Verifying this change

  • Make sure that the change passes the CI checks.

  • An integration test is added assuring the new behavior

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

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API: (no)
  • The schema: (no)
  • The default values of configurations: (no)
  • The wire protocol: (no)
  • The rest endpoints: (no)
  • The admin cli options: (no)
  • Anything that affects deployment: (no)

Documentation

  • Does this pull request introduce a new feature? (non)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@codelipenghui codelipenghui added type/bug The PR fixed a bug or issue reported a bug release/2.7.2 labels Mar 4, 2021
@codelipenghui codelipenghui added this to the 2.8.0 milestone Mar 4, 2021
@mlyahmed mlyahmed marked this pull request as draft March 4, 2021 11:30
@mlyahmed mlyahmed force-pushed the issue-9173 branch 2 times, most recently from f9c6f3d to b8bc3c7 Compare March 5, 2021 07:35
@mlyahmed mlyahmed marked this pull request as ready for review March 5, 2021 07:42
@mlyahmed
Copy link
Contributor Author

mlyahmed commented Mar 8, 2021

/pulsarbot run-failure-checks

1 similar comment
@mlyahmed
Copy link
Contributor Author

mlyahmed commented Mar 8, 2021

/pulsarbot run-failure-checks

@sijie sijie merged commit a19dc65 into apache:master Mar 8, 2021
@codelipenghui codelipenghui added the cherry-picked/branch-2.7 Archived: 2.7 is end of life label Mar 23, 2021
codelipenghui pushed a commit that referenced this pull request Mar 23, 2021
… the auto-creation is disabled (#9786)

Related to #9173 
Master Issue: #9173

### Motivation
Please see #9173 

### Modifications

When the BrokerService is about to create a non-persistent topic it checks if it is a partition and if so, even the auto-creation is disabled, it creates it.

(cherry picked from commit a19dc65)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked/branch-2.7 Archived: 2.7 is end of life release/2.7.2 type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants