You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by si...@apache.org on 2019/03/29 21:45:52 UTC
[pulsar] branch master updated: Fix comments of schema
compatibility strategy. (#3923)
This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 50fb65d Fix comments of schema compatibility strategy. (#3923)
50fb65d is described below
commit 50fb65d8075f78f4a295f4192d75007cfcea830c
Author: penghui <co...@gmail.com>
AuthorDate: Sat Mar 30 05:45:45 2019 +0800
Fix comments of schema compatibility strategy. (#3923)
### Motivation
Fix comments of schema compatibility strategy.
### Modifications
Change comment of SchemaCompatibilityStrategy.BACKWARD and SchemaCompatibilityStrategy.FORWARD
---
.../pulsar/broker/service/schema/SchemaCompatibilityStrategy.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/schema/SchemaCompatibilityStrategy.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/schema/SchemaCompatibilityStrategy.java
index 221fc8c..c53642e 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/schema/SchemaCompatibilityStrategy.java
+++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/schema/SchemaCompatibilityStrategy.java
@@ -32,12 +32,12 @@ public enum SchemaCompatibilityStrategy {
ALWAYS_COMPATIBLE,
/**
- * Messages written by a new schema can be read by an old schema
+ * Messages written by an old schema can be read by a new schema
*/
BACKWARD,
/**
- * Messages written by an old schema can be read be a new schema
+ * Messages written by a new schema can be read by an old schema
*/
FORWARD,