-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
[WIP] KIP-891: Connect Multiversion Support (Transformation and Predicate Changes) #17742
Open
snehashisp
wants to merge
147
commits into
apache:trunk
Choose a base branch
from
snehashisp:mvn-validation-transforms
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 134 commits
Commits
Show all changes
147 commits
Select commit
Hold shift + click to select a range
49b37c7
Add multiversioning apis to isolation
snehashisp 1b740cc
add method for header converter
snehashisp 3aba36e
init commit
snehashisp c96a8d1
update validation logic for connector versions
snehashisp 017df62
add getter for all plugins for a class
snehashisp 0f1cdaf
Merge branch 'multiversioning' into mvn-validation
snehashisp 855e77a
minor edits
snehashisp 4744f4f
Allow super to load class but do a version check
snehashisp c708ade
Merge branch 'multiversioning' into mvn-validation
snehashisp 8beac31
validate the version when loaded from parent correctly
snehashisp df16999
Merge branch 'multiversioning' into mvn-validation
snehashisp 6fb6471
Tested connector multiple verions
snehashisp 84ed0da
revert changes to filestream sink
snehashisp 814ddb7
bug in loadclass, should use fullname
snehashisp 7905708
Merge branch 'multiversioning' into mvn-validation
snehashisp 7497ef7
add available version to exception and minor changes
snehashisp 27aba58
Merge branch 'multiversioning' into mvn-validation
snehashisp b9c0ab5
validation supporting connector version
snehashisp d9cad93
fix lf to cr
snehashisp 7df37cf
Add configs and recommendors
snehashisp cbbbc95
converter tested
snehashisp 5282a3f
Add converter validatoins
snehashisp 7ad8a32
Remove changes to json
snehashisp 2cdf67c
Validation and recommendors for versioning transformations and predic…
snehashisp 53068f8
update recommendation logic
snehashisp 7676408
minor fixes
snehashisp 2119a91
Add default version getter
snehashisp eb3e693
Merge branch 'multiversioning' into mvn-validation
snehashisp 9d83a1c
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp dd150a5
add defaults
snehashisp 79a7e02
Update default version
snehashisp f973fd0
add a null check
snehashisp cce53be
Merge branch 'multiversioning' into mvn-validation
snehashisp ec7892b
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp baea3cf
Update log and comment
snehashisp 5238dd0
Merge branch 'multiversioning' into mvn-validation
snehashisp ae243dc
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp efbe73b
adress backwards compatiblity
snehashisp f228fbc
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp ddec0d8
Rename default version to latest version
snehashisp ab0c8d8
Merge branch 'multiversioning' into mvn-validation
snehashisp d5f765b
Add logic for getting defaults
snehashisp 84fb4fe
fix worker converter fetching
snehashisp 9ded1af
fix header converter version
snehashisp a385dd4
Merge branch 'multiversioning' into mvn-validation
snehashisp a490ac1
Remove existing default logic
snehashisp d929a02
remove unwanted imports
snehashisp edd1067
Remove unwanted imports
snehashisp 8f79bc3
Update imports
snehashisp 648691b
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp 9604dfe
refactor default version getting logic
snehashisp a9fe400
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp 74a0d8f
Use current classloader when version is not present
snehashisp 7190808
Merge branch 'multiversioning' into mvn-validation
snehashisp c604c74
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp 680fffc
checkpoint
snehashisp bfa73e7
Remove transformation and predicate getters
snehashisp 0cc0f8a
Merge branch 'multiversioning' into mvn-validation
snehashisp 49f1522
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp fbbb0b8
add rawtype annotation
snehashisp bd4b665
Merge branch 'multiversioning' into mvn-validation
snehashisp 105e746
Merge branch 'multiversioning' into mvn-validation-transforms
snehashisp 5d7a335
remove json changes
snehashisp 69381f3
Add version configs to worker
snehashisp 4edbe2a
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp 8c334b9
Add a static loader swap method
snehashisp 4a8f0d2
Merge branch 'multiversioning' into mvn-validation
snehashisp 2c7693a
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp c51270c
add null checks
snehashisp 8ac4d56
Minor updates to get connectors
snehashisp ff108b0
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp 27cb9b1
add comment for servie loading bug and rename some methods
snehashisp 720d619
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp 1f04289
remove some unndeded code
snehashisp 5fef3f4
Resolve comments on 1st review
snehashisp 5e9f3c7
Remove extra code
snehashisp d796f22
Merge branch 'multiversioning' into mvn-validation
snehashisp b2b51c6
Add plugin version utils for parsing versions
snehashisp da2c5f5
Merge branch 'multiversioning' into mvn-validation
snehashisp f8e2837
Remove unused imports
snehashisp 093e9ef
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp aff9ac1
Use PluginVersionUtils version range requirement
snehashisp 56fd5af
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp 1c35aa9
Should return loader
snehashisp 9c1c50d
Merge branch 'multiversioning' into mvn-validation
snehashisp ca43739
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp 8d64cfa
address first set of comments
snehashisp 73ecfb1
Add a delegated newPlugin class
snehashisp 037d9af
Update abstract herder converter plugin fetching
snehashisp 229cfa9
Update pluginversion util
snehashisp 155271b
fix incorrect classloader equality check
snehashisp 1d41648
Merge branch 'multiversioning' into mvn-validation
snehashisp 5efd761
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp 8c88d4c
fix whitespace issue
snehashisp d6e3392
Update version loading logic and add return delegating loader
snehashisp f969159
Merge branch 'multiversioning' into mvn-validation
snehashisp b6e2226
Combine loader logic
snehashisp e05bf9e
Merge branch 'multiversioning' into mvn-validation
snehashisp 7d995ee
Use instanced PluginVersionUtil
snehashisp 1ac60e4
Update default fetching and recommendor logic
snehashisp 821a7fe
Don't expose some plugins methods
snehashisp b3c28f7
Merge branch 'multiversioning' into mvn-validation
snehashisp 6d1aed4
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp 261e697
Update suffix for verison
snehashisp f52a8fc
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp 5b41efe
add safe swap loader instead of static swaploader
snehashisp 773d9b0
Merge branch 'multiversioning' into mvn-validation
snehashisp 475514d
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp dbbc843
Merge branch 'trunk' of https://github.com/apache/kafka into mvn-vali…
snehashisp 0e89ba4
Cleanup and changes post multiversioning merge
snehashisp 17ceac2
fix checkstyle
snehashisp 3e6c910
Update and Isolate getConnector logic
snehashisp 47d4991
fix tests for herders
snehashisp b0aee4c
attempt to fix large diff in distributed herder
snehashisp e0c3b16
spotlessJavaFix
snehashisp 9a8fc1b
updates based on comments
snehashisp 7efacbf
remove plugins.recommendor, use header converter defaults
snehashisp b980c03
minor changes
snehashisp 871ae0a
Do validations for invalid versions
snehashisp f7d964d
Update plugin loading logic
snehashisp cba6924
test fix and minor adjustments
snehashisp 520681c
bug fixes
snehashisp dc4f686
revert unwanted changes
snehashisp 18b8d16
add recommendor for invalid version, attempt to remove unwanted update
snehashisp 978e84b
remove changes in connector config
snehashisp b29b373
more unwanted change removal
snehashisp a0f2bd0
fix test
snehashisp 72d86aa
checkstyle fix and remove gitignore changes
snehashisp 14cf633
remove unwanted changes
snehashisp 357d461
newline in gitignore
snehashisp 642221d
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp 0c57bf9
remove unwanted changes
snehashisp 87fb31a
Merge branch 'trunk' of https://github.com/apache/kafka into mvn-vali…
snehashisp 4d8ec98
Attempt to fix diff
snehashisp 53a7c78
checkstyle fix
snehashisp 58869c1
fix bug in plugin versionloading and some tests
snehashisp e1a3ce0
add back concrete class check
snehashisp 2fcf63a
fix abstract herder test
snehashisp 6e997e9
Validate plugin type while getting verison to avoid showing wrong def…
snehashisp 8458124
bug fixes to version fetching
snehashisp 8d59940
checkstyle fix
snehashisp e0fa30d
add back config exception
snehashisp f3e82ab
use version plugin loading exception in validation
snehashisp 2cfbf62
fix newPlugin
snehashisp 37560be
cached connectors should throw original exception
snehashisp ac394b0
reorder operations in validate
snehashisp b9204d6
Remove unused method
snehashisp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I think this validator needs to include the error when the version is incorrect, similar to the converters.