Skip to content

Conversation

@lordgarrish
Copy link
Contributor

@lordgarrish lordgarrish commented Aug 30, 2024

This commit adds multiple include and exclude filters to all current implementations of Apache Ignite CDC: Ignite2Ignite, Ignite2Kafka and additional filters for Kafka2Ignite. Filters implemented in form of pure regular expressions, and in case of invalid regexp CDC will throw PatternSyntaxException. Regexes can be added to the configurations of CDC streamers, and any cache created after it and matching the pattern, will be added "on-the-go".
More info in ticket: https://issues.apache.org/jira/browse/IGNITE-22530

This commit is a counterpart to commit with the same name in ignite, and they both should be merged simultaneously.

/**
* @param includeTemplates Include regex templates
*/
public void setIncludeTemplates(Set<String> includeTemplates) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a set of patterns and exclude patterns? Seems other products provide only single pattern, for example Kafka consumer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants