-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from indraraj/DBZ-8590
DBZ-8590: Add Predicate support in the Transform configuration and ed…
- Loading branch information
Showing
26 changed files
with
911 additions
and
909 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
debezium-platform-stage/src/__mocks__/data/Predicates.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[ | ||
{ | ||
"properties": { | ||
"pattern": { | ||
"title": "Pattern", | ||
"description": "A predicate which is true for records with a topic name that matches the configured regular expression.", | ||
"type": "STRING", | ||
"x-name": "pattern" | ||
} | ||
}, | ||
"predicate": "org.apache.kafka.connect.transforms.predicates.TopicNameMatches" | ||
}, | ||
{ | ||
"properties": { | ||
"name": { | ||
"title": "Name", | ||
"description": "A predicate which is true for records with at least one header with the configured name.", | ||
"type": "STRING", | ||
"x-name": "name" | ||
} | ||
}, | ||
"predicate": "org.apache.kafka.connect.transforms.predicates.HasHeaderKey" | ||
}, | ||
{ | ||
"properties": {}, | ||
"predicate": "org.apache.kafka.connect.transforms.predicates.RecordIsTombstone" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.