This is an automated email from the ASF dual-hosted git repository.

zike pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 40ccb3f96f6 [fix][schema] Fix incorrect field name of 
`isSchemaValidationEnforced` (#401)
40ccb3f96f6 is described below

commit 40ccb3f96f6c5025b7c2d22a9e2bd6c53bbea6ef
Author: Zike Yang <[email protected]>
AuthorDate: Tue Feb 7 18:29:32 2023 +0800

    [fix][schema] Fix incorrect field name of `isSchemaValidationEnforced` 
(#401)
    
    The field name of toggling the schema validation enforced is 
`isSchemaValidationEnforced`. See 
[broker.conf](https://github.com/apache/pulsar/blob/8eb7ee1e9e96d4686e452320cdaba92d5eca7b4f/conf/broker.conf#L1502-L1504)
 and [the 
code](https://github.com/apache/pulsar/blob/8eb7ee1e9e96d4686e452320cdaba92d5eca7b4f/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java#L2633)
    
    This commit fixes the incorrect name.
---
 docs/admin-api-schemas.md                          | 2 +-
 versioned_docs/version-2.11.x/admin-api-schemas.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/admin-api-schemas.md b/docs/admin-api-schemas.md
index 77326c3a9c8..4843e173bc1 100644
--- a/docs/admin-api-schemas.md
+++ b/docs/admin-api-schemas.md
@@ -396,7 +396,7 @@ 
admin.namespaces().setIsAllowAutoUpdateSchema("my-namspace", false);
 
 ### Enable schema validation enforcement
 
-To enforce schema validation enforcement at the **cluster** level, you can 
configure `schemaValidationEnforced` to `true` in the `conf/broker.conf` file. 
+To enforce schema validation enforcement at the **cluster** level, you can 
configure `isSchemaValidationEnforced` to `true` in the `conf/broker.conf` 
file. 
 
 To enable schema validation enforcement at the **namespace** level, you can 
use one of the following commands.
 
diff --git a/versioned_docs/version-2.11.x/admin-api-schemas.md 
b/versioned_docs/version-2.11.x/admin-api-schemas.md
index 77326c3a9c8..4843e173bc1 100644
--- a/versioned_docs/version-2.11.x/admin-api-schemas.md
+++ b/versioned_docs/version-2.11.x/admin-api-schemas.md
@@ -396,7 +396,7 @@ 
admin.namespaces().setIsAllowAutoUpdateSchema("my-namspace", false);
 
 ### Enable schema validation enforcement
 
-To enforce schema validation enforcement at the **cluster** level, you can 
configure `schemaValidationEnforced` to `true` in the `conf/broker.conf` file. 
+To enforce schema validation enforcement at the **cluster** level, you can 
configure `isSchemaValidationEnforced` to `true` in the `conf/broker.conf` 
file. 
 
 To enable schema validation enforcement at the **namespace** level, you can 
use one of the following commands.
 

Reply via email to