Skip to content

[feat] PIP-242 part 1 Introduce configuration strictTopicNameEnabled - #19582

Merged
codelipenghui merged 5 commits into
apache:masterfrom
mattisonchao:pip/242/1
Feb 27, 2023
Merged

codelipenghui merged 5 commits into
apache:masterfrom
mattisonchao:pip/242/1

Conversation

@mattisonchao

@mattisonchao mattisonchao commented Feb 21, 2023 •

Copy link
Copy Markdown
Member

PIP: #19239

Motivation

This is the part 1 of PIP 242, aimed to add the new configuration strictTopicNameEnabled to avoid break compatibility.

Modifications

  • Add new configuration strictTopicNameEnabled and make it default to false.

Verifying this change

  • Make sure that the change passes the CI checks.

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 github-actions Bot added the doc-required Your PR changes impact docs and you will update later. label Feb 21, 2023
@mattisonchao mattisonchao self-assigned this Feb 21, 2023
@mattisonchao mattisonchao added this to the 3.0.0 milestone Feb 21, 2023
@mattisonchao mattisonchao reopened this Feb 21, 2023
Comment thread conf/broker.conf Resolved
@codecov-commenter

codecov-commenter commented Feb 22, 2023 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.14%. Comparing base (02b25a3) to head (b64f83e).
Report is 1633 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #19582      +/-   ##
============================================
- Coverage     62.35%   62.14%   -0.21%     
+ Complexity    25873    25777      -96     
============================================
  Files          1844     1844              
  Lines        135280   135527     +247     
  Branches      14875    14917      +42     
============================================
- Hits          84352    84225     -127     
- Misses        43183    43562     +379     
+ Partials       7745     7740       -5     
Flag Coverage Δ
inttests 24.58% <100.00%> (-0.04%) ⬇️
systests 25.32% <100.00%> (-0.08%) ⬇️
unittests 59.33% <100.00%> (-0.22%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...org/apache/pulsar/broker/ServiceConfiguration.java 98.73% <100.00%> (+0.21%) ⬆️

... and 146 files with indirect coverage changes

Comment thread conf/broker.conf Resolved
@codelipenghui

Copy link
Copy Markdown
Contributor

@mattisonchao We'd better merge this PR after the functionality is ready. Otherwise, we need to track everything done before 3.0 release. I just want to make sure we will not introduce a new configuration but it is not exactly implemented.

@mattisonchao

Copy link
Copy Markdown
Member Author

@codelipenghui I've changed it to introduce the config in the ServerConfiguration to help write the rest of logic.

@github-actions github-actions Bot added doc-not-needed Your PR changes do not impact docs and removed doc-required Your PR changes impact docs and you will update later. labels Feb 26, 2023
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 ready-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants