-
Notifications
You must be signed in to change notification settings - Fork 1.9k
IGNITE-22530 CDC: Add regex filters for cache names #11503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
6133cfc to
f8ef9a2
Compare
2addf31 to
a9ca469
Compare
f3a2664 to
317c326
Compare
317c326 to
5b0a904
Compare
| /** | ||
| * Regexp matcher that processes user's regexp patterns for CDC caches names. | ||
| */ | ||
| public interface CdcRegexMatcher { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need it in the core module?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could be a part of public API so that other users can implement their own matchers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Users should implement their own CdcConsumer. The core module does not provide implementation details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'a an interface similiar to CdcConsumer. CdcConsumer itself does not contain regexp matching logic, but it can have an instance of CdcRegexMatcher as a field variable to do it. Users can implement their own CdcRegexMatcher or use default implementation in cdc-ext module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is CdcRegexMatcher handled in the core module?
5b0a904 to
58d2fe6
Compare
This commit adds extended CdcConsumerEx interface with the possiblity of passing the path of CDC directory to implementation of CdcRegexMatcher in extensions. This commit is a counterpart to commit with the same name in ignite-extensions, and they both should be merged simultaneously.
Thank you for submitting the pull request to the Apache Ignite.
In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:
The Contribution Checklist
The description explains WHAT and WHY was made instead of HOW.
The following pattern must be used:
IGNITE-XXXX Change summarywhereXXXX- number of JIRA issue.(see the Maintainers list)
the
green visaattached to the JIRA ticket (see TC.Bot: Check PR)Notes
If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.