Skip to content

[Broker] Set default value of applied to false in getSchemaCompatibilityStrategy - #14012

Merged
codelipenghui merged 1 commit into
apache:masterfrom
yuruguo:set_default_value_of_applied_to_false_in_getSchemaCompatibilityStrategy
Jan 29, 2022
Merged

[Broker] Set default value of applied to false in getSchemaCompatibilityStrategy#14012
codelipenghui merged 1 commit into
apache:masterfrom
yuruguo:set_default_value_of_applied_to_false_in_getSchemaCompatibilityStrategy

Conversation

@yuruguo

@yuruguo yuruguo commented Jan 28, 2022

Copy link
Copy Markdown
Contributor

Motivation

In #13297, we should set default value of applied to false in getSchemaCompatibilityStrategy

Documentation

  • no-need-doc

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Jan 28, 2022
@codelipenghui codelipenghui modified the milestones: 2.11.0, 2.10.0 Jan 28, 2022

@Jason918 Jason918 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.
Just curious, is this applied implicitly default as false before this change?

@yuruguo

yuruguo commented Jan 29, 2022

Copy link
Copy Markdown
Contributor Author

LGTM. Just curious, is this applied implicitly default as false before this change?

Amdin Cli defaults applied to false, but the Rest API may not specify a value, so we need to give a default value on the broker side.

@Jason918

Copy link
Copy Markdown
Contributor

the Rest API may not specify a value

It's boolean type, so it should be default as false if we does not pass it in REST api, right?

@codelipenghui
codelipenghui merged commit f49ed2d into apache:master Jan 29, 2022
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Apr 20, 2022
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.

4 participants