Schema Replication
Enable and configure the
Property Path
Description
Required to Enable
Customizing Schema Mapping
Property
Description
Required
Example
# ---------------------------------------------------
# K2K Configuration for Automatic Schema Replication
# ---------------------------------------------------
# 1. Global feature flag to enable the schema replication process.
features:
schemaMapping: enabled
# 2. Source configuration must include the source Schema Registry URL.
source:
registry:
config:
"schema.registry.url": "http://prod.schema-registry:8081"
# 3. Target configuration must include the target Schema Registry URL.
target:
registry:
config:
"schema.registry.url": "http://dr.schema-registry:8081"
# 4. Fine grain control of
schemaMapping:
topics:
- pattern: "user-.*" #rule only applies to topics matching this regex
key: enabled #enables schema mapping of key facets
value: enabled #enables schema mapping of value facets
- pattern: "transaction-.*" #rule only applies to topics matching this regex
key: disabled #disables schema mapping of key facets
value: enabled #enables schema mapping of value facetsLast updated
Was this helpful?

