-
Notifications
You must be signed in to change notification settings - Fork 142
Restore the support for Kafka clients 0.9 and 0.10 #1307
Restore the support for Kafka clients 0.9 and 0.10 #1307
Conversation
|
IIRC the main problem that was solved by #1060 is that older Kafka Clients bring well known CVEs inside the KOP package. This PR defeats the purpose of 1060. @nicoloboschi can you please confirm ? |
|
an alternative approach is to copy/paste (or write from scratch) only the classes the we need |
|
@eolivelli Sure, I'll try to copy the necessary classes. |
88110ea to
43ed540
Compare
eolivelli
left a comment
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.
LGTM
great work
Fixes: #1293 ### Motivation #1060 updates the `kafka-clients` dependency to 2.1.1 but it drops the support for Kafka clients 0.9 and 0.10 because `ListOffsetRequest.offsetData()` method has removed. ### Modifications Add the old version of `ListOffsetRequest` to be compatible with Kafka clients 0.9 and 0.10. (cherry picked from commit 723d3be)
This reverts commit ffba41c.
|
@BewareMyPower why revert this pr ? |
|
@woshihaoren Both this PR and #1060 are reverted. #1060 breaks the compatibility with 0.9 and 1.0 clients and this PR restores the compatibility. Since both them are reverted, 2.10.1.6 should still be compatible with 0.9 and 1.0 clients. Could you open an issue to verify KoP 2.10.1.6 cannot work for Kafka 0.10 client? |
Fixes: streamnative#1293 ### Motivation streamnative#1060 updates the `kafka-clients` dependency to 2.1.1 but it drops the support for Kafka clients 0.9 and 0.10 because `ListOffsetRequest.offsetData()` method has removed. ### Modifications Add the old version of `ListOffsetRequest` to be compatible with Kafka clients 0.9 and 0.10. (cherry picked from commit 723d3be)
Fixes: #1293
Motivation
#1060 updates the
kafka-clientsdependency to 2.1.1 but it drops the support for Kafka clients 0.9 and 0.10 becauseListOffsetRequest.offsetData()method has removed.Modifications
Add the old version of
ListOffsetRequestto be compatible with Kafka clients 0.9 and 0.10.Documentation
Check the box below.
Need to update docs?
doc-required(If you need help on updating docs, create a doc issue)
no-need-doc(Please explain why)
doc(If this PR contains doc changes)