-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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 12757][broker] add broker config isAllowAutoUpdateSchema #12786
[Issue 12757][broker] add broker config isAllowAutoUpdateSchema #12786
Conversation
@codelipenghui PTAL |
/pulsarbot run-failure-checks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think allowAutoUpdateSchema
is better. the boolean type of field have implied the meaning of is
Nice catch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also add this config to conf/broker.conf
, conf/standalone.conf
and releated document
?
Thanks for the reminding, added the config to these files. Please take a look. About the user doc, the config doc should be auto-generated by the annotation, right ? |
/pulsarbot run-failure-checks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/pulsarbot run-failure-checks |
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractTopic.java
Outdated
Show resolved
Hide resolved
c2c6c5e
to
3eddf8a
Compare
/pulsarbot run-failure-checks |
(cherry picked from commit fa7be23)
* up/master: [Issue 12757][broker] add broker config isAllowAutoUpdateSchema (apache#12786)
* up/master: [Issue 12757][broker] add broker config isAllowAutoUpdateSchema (apache#12786) Update deploy-bare-metal.md (apache#12432) [Broker] Fix producer getting incorrectly removed from topic's producers map (apache#12846) Add error log when new jetty client (apache#12840) JavaInstanceTest should be AssertEquals (apache#12836) [Transaction] Fix transaction flaky test testMaxReadPositionForNormalPublish (apache#12681) The problem of two exception handling (apache#12744) Fix TopicPoliciesCacheNotInitException issue. (apache#12773) Added local filesystem backend for package manager (apache#12708)
(cherry picked from commit fa7be23)
Fixes #12757
Motivation
See #12757
Modifications
Add a broker config : isAllowAutoUpdateSchema
Verifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?
doc
Added doc in the annotation of new config.