Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2382,6 +2382,9 @@ protected void internalSetSchemaValidationEnforced(boolean schemaValidationEnfor
protected boolean internalGetIsAllowAutoUpdateSchema() {
validateNamespacePolicyOperation(namespaceName, PolicyName.SCHEMA_COMPATIBILITY_STRATEGY,
PolicyOperation.READ);
if (getNamespacePolicies(namespaceName).is_allow_auto_update_schema == null) {
return pulsar().getConfig().isAllowAutoUpdateSchemaEnabled();
}
Comment thread
gaozhangmin marked this conversation as resolved.
return getNamespacePolicies(namespaceName).is_allow_auto_update_schema;
}

Expand Down