KAFKA-14206: upgrade zookeeper version to 3.7.1#12620
KAFKA-14206: upgrade zookeeper version to 3.7.1#12620showuon wants to merge 1 commit intoapache:trunkfrom
Conversation
|
@jsancio , should we include this upgrade into 3.3? |
|
What CVEs are this? This kind of upgrade requires quite a lot of validation, it's too late for 3.3 unless the impact is severe. |
|
ZK 3.6.3 uses old Netty that has CVEs. ZK 3.7.1 upgrade the Netty version to fix it. I agree it's late for 3.3, just want to make sure we're aware of it. |
|
I did some analysis on what has changed and here is my summary: ZK 3.7.1 contains CVE fixes for:
In 3.3.0-RC1 for Kafka:
Since the CVEs are fixed in the versions we are directly picking the class path for Kafka, I don't think it is urgent to upgrade the zookeeper version. We can scope it for 3.4.0. |
|
Exactly right @divijvaidya, we have generally fixed transitive dependency issues directly. |
|
One more thing: ZK is going away in AK 4.0. We probably need to do one more upgrade before that. It may make sense to wait a bit and go straight to 3.8.1 (once that's released) so that we benefit from longer support from the ZK community. |
|
Make sense to me. Thank you all. I'll close this PR then. |
Note that Zk 3.8.1 has released in Jan 2023. @ijuma, do you think it is the right time for us to move to 3.8.1 since the existing version in Kafka is EOL? [1] https://zookeeper.apache.org/doc/r3.8.1/releasenotes.html |
|
@divijvaidya Yes, I think that would make sense. That should tide us over until the KRaft transition happens. |
|
A couple of things to consider:
|
|
Completing the conversation here, in case someone comes around reading this old thread. We have a new KIP and a PR for Zk migration to 3.8.1 which would hopefully land in 3.5. KIP - https://cwiki.apache.org/confluence/display/KAFKA/KIP-902%3A+Upgrade+Zookeeper+to+3.8.1 PR - #13260 |
Upgrade zookeeper version to the latest stable release 3.7.1 due to some CVEs.
https://zookeeper.apache.org/releases.html
Committer Checklist (excluded from commit message)