kafka/gradle
Colin Patrick McCabe c28d9a3486
KAFKA-18435 Remove zookeeper dependencies in build.gradle (#18450)
Remove Apache ZooKeeper from the Apache Kafka build. Also remove commons IO, commons CLI, and netty, which were dependencies we took only because of ZooKeeper.

In order to keep the size of this PR manageable, I did not remove all classes which formerly interfaced with ZK. I just removed the ZK types. Fortunately, Kafka generally wrapped ZK data structures rather than using them directly.

Some classes were pretty entangled with ZK, so it was easier just to stub them out. For ZkNodeChangeNotificationListener.scala, PartitionStateMachine.scala, ReplicaStateMachine.scala, KafkaZkClient.scala, and ZookeeperClient.scala, I replaced all the functions with "throw new UnsupportedOperationException". Since the tests for these classes have been removed, as well as the ZK-based broker code, this should be OK as an incremental step.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2025-01-09 10:25:17 +08:00
..
resources KAFKA-18050 Upgrade the checkstyle version to 10.20.2 (#17999) 2024-12-05 10:59:18 +08:00
wrapper KAFKA-17974 Upgrade gradle from 8.10 to 8.10.2 (#17734) 2024-11-11 09:14:04 +08:00
dependencies.gradle KAFKA-18435 Remove zookeeper dependencies in build.gradle (#18450) 2025-01-09 10:25:17 +08:00
openapi.template KAFKA-13780: Generate OpenAPI file for Connect REST API (#12067) 2022-06-10 11:35:22 +02:00
spotbugs-exclude.xml MINOR: Remove PureJavaCrc32C and reflective code for CRC32C (#18361) 2025-01-01 02:08:06 -08:00