Skip to content

Commit 539c693

Browse files
authored
Merge pull request #30 from datastax/telling-the-cdc-story
Rewording compatibility strategy
2 parents 0ceede7 + c89e67f commit 539c693

File tree

1 file changed

+1
-1
lines changed
  • modules/use-cases-architectures/pages/change-data-capture

1 file changed

+1
-1
lines changed

modules/use-cases-architectures/pages/change-data-capture/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ KeyValue offers an interesting way to encode a message called “Separated”. T
4646

4747
In the context of CDC there are a few schema configurations of note. All of these are specific to the namespace where the event and data topics are logically located.
4848

49-
- *schema-compatibility-strategy*: this setting is for producers, it directs the Broker how to handle new schemes introduced to existing topics. In CDC this is relevant when you change a table’s design. For example if a new column is added, the schema is changed to include that new value. The chosen schema-compatibility-strategy decides if the namespace will allow this. You have the option of choosing what strategy is used. The default is "BACKWARD_TRANSITIVE" and is highly recommended. Using this strategy means adding new optional fields and the removal of fields are both allowed. Learn more about the different types of strategies in the https://pulsar.apache.org/docs/next/schema-understand/#schema-compatibility-check-strategy[pulsar docs^]{external-link-icon}.
49+
- *schema-compatibility-strategy*: this setting is for producers, it directs the Broker how to handle new schemes introduced to existing topics. In CDC this is relevant when you change a table’s design. For example if a new column is added, the schema is changed to include that new value. The chosen schema-compatibility-strategy decides if the namespace will allow this. If schema validations are enabled, the option of choosing what strategy is used. Pulsar's default strategy is "FULL" which means existing optional table columns can be modified. Learn more about the different types of strategies in the https://pulsar.apache.org/docs/next/schema-understand/#schema-compatibility-check-strategy[pulsar docs^]{external-link-icon}.
5050

5151
- *allow-auto-update-schema*: given the compatibility strategy this setting is a flag deciding if an update to the schema is generally allowed. CDC sets this to ‘true’, so changes in a table’s design can automatically propagate to the topic.
5252

0 commit comments

Comments
 (0)