-
Notifications
You must be signed in to change notification settings - Fork 14.3k
KAFKA-18988: Connect Multiversion Support (Updates to status and metrics) #17988
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
Open
snehashisp
wants to merge
217
commits into
apache:trunk
Choose a base branch
from
snehashisp:mvn-status
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 all commits
Commits
Show all changes
217 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 b7cf615
Update worker for versioned plugins
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 010dbd2
Merge branch 'mvn-validation-transforms' into mvn-runtime
snehashisp 6eb0f4c
worker and related changes
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 e374438
Merge branch 'mvn-validation-transforms' into mvn-runtime
snehashisp ba581ad
Use a different static swaploader
snehashisp c51270c
add null checks
snehashisp 78080b9
Merge branch 'mvn-validation-transforms' into mvn-runtime
snehashisp 054624a
Add version to status
snehashisp 530af08
Add version metrics
snehashisp 5b39309
Add connector metadata to task configs
snehashisp 8ac4d56
Minor updates to get connectors
snehashisp ff108b0
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp 4e3cc99
Merge branch 'mvn-validation-transforms' into mvn-runtime
snehashisp 62d5d05
Partial commit of metrics changes
snehashisp 70e2dff
fix transformation, remove some changes
snehashisp cd3f21b
Merge branch 'mvn-runtime' into mvn-status
snehashisp 4306dcf
Complete metrics code, need testing
snehashisp dac6c62
Add tags for transformation and predicates
snehashisp 42dcaed
fix converter initialisation
snehashisp a100807
Merge branch 'mvn-runtime' into mvn-status
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 3b39e90
Merge branch 'mvn-validation-transforms' into mvn-runtime
snehashisp 7dbe1a7
update worker
snehashisp d5ecd91
Merge branch 'mvn-runtime' into mvn-status
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 46b7656
Merge branch 'mvn-validation-transforms' into mvn-runtime
snehashisp 302b47d
Merge branch 'mvn-runtime' into mvn-status
snehashisp aff9ac1
Use PluginVersionUtils version range requirement
snehashisp 56fd5af
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp ee8a3be
Merge branch 'mvn-validation-transforms' into mvn-runtime
snehashisp 6dca4af
Merge branch 'mvn-runtime' into mvn-status
snehashisp 1c35aa9
Should return loader
snehashisp 9c1c50d
Merge branch 'multiversioning' into mvn-validation
snehashisp ca43739
Merge branch 'mvn-validation' into mvn-validation-transforms
snehashisp b8e1363
Merge branch 'mvn-validation-transforms' into mvn-runtime
snehashisp 3020d00
Merge branch 'mvn-runtime' into mvn-status
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 a5e67de
Merge branch 'mvn-validation-transforms' into mvn-runtime
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 c578ceb
Merge branch 'mvn-validation-transforms' into mvn-runtime
snehashisp f09d508
Merge branch 'mvn-runtime' into mvn-status
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 9e859dd
Merge branch 'mvn-validation-transforms' into mvn-runtime
snehashisp 44bd97b
Use plugins.newPlugin
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 0879414
Merge branch 'mvn-validation-transforms' into mvn-runtime
snehashisp d50bdd4
Merge branch 'mvn-runtime' into mvn-status
snehashisp e325ae3
use safe loader, revert classloader changes
snehashisp 445e1ca
Merge branch 'mvn-runtime' into mvn-status
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 56f8cd5
Merge branch 'mvn-validation-transforms' into mvn-runtime
snehashisp 2cfbf62
fix newPlugin
snehashisp 37560be
cached connectors should throw original exception
snehashisp ac394b0
reorder operations in validate
snehashisp 128a07b
Merge branch 'mvn-validation-transforms' into mvn-runtime
snehashisp 8b7835e
Fix checkstyle
snehashisp b9204d6
Remove unused method
snehashisp 33f3f64
Merge branch 'mvn-validation-transforms' into mvn-runtime
snehashisp 7e37d47
Header converter should check abstract config
snehashisp c6388bd
fix tests
snehashisp e3e579e
Merge branch 'mvn-runtime' into mvn-status
snehashisp 1745443
changes after merge
snehashisp 64a1f6f
instantiate connector and update tests
snehashisp 05b199f
Merge branch 'mvn-runtime' into mvn-status
snehashisp 4a560fa
more changes
snehashisp 7b66579
checkstyle fix
snehashisp 8c140a0
update tests
snehashisp 395a722
Merge remote-tracking branch 'origin' into mvn-status
snehashisp f52032b
Merge remote-tracking branch 'ak/trunk' into mvn-runtime
snehashisp 51263ed
Merge branch 'trunk' of https://github.com/apache/kafka into mvn-runtime
snehashisp c942703
remove unnecessary changes
snehashisp 6b9c6cd
merge upstream
snehashisp ef24f30
Remove old transformation method
snehashisp c5f614e
Merge remote-tracking branch 'ak/trunk' into mvn-runtime
snehashisp cccd5cd
resolve comments
snehashisp 45c4687
Don't instantiate connector for tasks
snehashisp dfc074d
Merge branch 'mvn-runtime' into mvn-status
snehashisp 6e1b8ee
Merge branch 'trunk' of https://github.com/apache/kafka into mvn-status
snehashisp 82cebeb
Minor changes
snehashisp 3fe0613
Initial Comments
snehashisp 336ed44
address comments
snehashisp 5a96b20
checkstyle fix
snehashisp 419947d
spotless fix
snehashisp 899fbef
fix tests
snehashisp e8c7229
this-escape error
snehashisp cf4318c
fix error
snehashisp 66387cb
fix ordering error in conntransformation creation
snehashisp d576ee9
add plugins metadata to the constructor
snehashisp 5065bdf
update filter for version
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
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.
Should this also be part of equals/hashCode?
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.
Yes, it should be, thanks for catching this.