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.
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
KAFKA-18988: Connect Multiversion Support (Updates to status and metrics) #17988
Changes from 207 commits
49b37c7
1b740cc
3aba36e
c96a8d1
017df62
0f1cdaf
855e77a
4744f4f
c708ade
8beac31
df16999
6fb6471
84ed0da
814ddb7
7905708
7497ef7
27aba58
b9c0ab5
d9cad93
7df37cf
cbbbc95
5282a3f
7ad8a32
2cdf67c
53068f8
7676408
2119a91
eb3e693
9d83a1c
dd150a5
79a7e02
f973fd0
cce53be
ec7892b
baea3cf
5238dd0
ae243dc
b7cf615
efbe73b
f228fbc
ddec0d8
ab0c8d8
d5f765b
84fb4fe
9ded1af
a385dd4
a490ac1
d929a02
edd1067
8f79bc3
648691b
9604dfe
a9fe400
74a0d8f
7190808
c604c74
680fffc
bfa73e7
0cc0f8a
49f1522
fbbb0b8
bd4b665
105e746
5d7a335
69381f3
4edbe2a
010dbd2
6eb0f4c
8c334b9
4a8f0d2
2c7693a
e374438
ba581ad
c51270c
78080b9
054624a
530af08
5b39309
8ac4d56
ff108b0
4e3cc99
62d5d05
70e2dff
cd3f21b
4306dcf
dac6c62
42dcaed
a100807
27cb9b1
720d619
1f04289
3b39e90
7dbe1a7
d5ecd91
5fef3f4
5e9f3c7
d796f22
b2b51c6
da2c5f5
f8e2837
093e9ef
46b7656
302b47d
aff9ac1
56fd5af
ee8a3be
6dca4af
1c35aa9
9c1c50d
ca43739
b8e1363
3020d00
8d64cfa
73ecfb1
037d9af
229cfa9
a5e67de
155271b
1d41648
5efd761
c578ceb
f09d508
8c88d4c
d6e3392
f969159
b6e2226
e05bf9e
7d995ee
1ac60e4
821a7fe
b3c28f7
6d1aed4
261e697
f52a8fc
9e859dd
44bd97b
5b41efe
773d9b0
475514d
0879414
d50bdd4
e325ae3
445e1ca
dbbc843
0e89ba4
17ceac2
3e6c910
47d4991
b0aee4c
e0c3b16
9a8fc1b
7efacbf
b980c03
871ae0a
f7d964d
cba6924
520681c
dc4f686
18b8d16
978e84b
b29b373
a0f2bd0
72d86aa
14cf633
357d461
642221d
0c57bf9
87fb31a
4d8ec98
53a7c78
58869c1
e1a3ce0
2fcf63a
6e997e9
8458124
8d59940
e0fa30d
f3e82ab
56f8cd5
2cfbf62
37560be
ac394b0
128a07b
8b7835e
b9204d6
33f3f64
7e37d47
c6388bd
e3e579e
1745443
64a1f6f
05b199f
4a560fa
7b66579
8c140a0
395a722
f52032b
51263ed
c942703
6b9c6cd
ef24f30
c5f614e
cccd5cd
45c4687
dfc074d
6e1b8ee
82cebeb
3fe0613
336ed44
5a96b20
419947d
899fbef
e8c7229
cf4318c
66387cb
d576ee9
5065bdf
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
This is a call into the real task object, which requires a context classloader swap, can throw arbitary exceptions, and may block indefinitely. We should either use Plugins#pluginVersion to compute this, or compute it once during instantiation and then return it whenever necessary.
The same comment applies to WorkerConnector, WorkerSinkTask, and TaskPluginsMetadata.
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.
Opted to compute it during initialization. Plugins don't have description entries for tasks, only connectors so fetching the task versions would be complicated and require us to somehow get the associated connector version. This may also not be accurate if the version overrides for connector and its task don't match.
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.
nit: newline
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.
nit: This constructor is unused.