Skip to content

Commit

Permalink
KAFKA-18384 Remove ZkAlterPartitionManager (#18364)
Browse files Browse the repository at this point in the history
Reviewers: Mickael Maison <[email protected]>
  • Loading branch information
m1a2st authored Jan 7, 2025
1 parent abeed20 commit 9d93a4f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 303 deletions.
12 changes: 0 additions & 12 deletions core/src/main/scala/kafka/server/AlterPartitionManager.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import java.util
import java.util.concurrent.atomic.AtomicBoolean
import java.util.concurrent.{CompletableFuture, ConcurrentHashMap}
import kafka.utils.Logging
import kafka.zk.KafkaZkClient
import org.apache.kafka.clients.ClientResponse
import org.apache.kafka.common.TopicIdPartition
import org.apache.kafka.common.TopicPartition
Expand Down Expand Up @@ -100,17 +99,6 @@ object AlterPartitionManager {
metadataVersionSupplier = () => metadataCache.metadataVersion()
)
}

/**
* Factory for ZK based implementation, used when IBP < 2.7-IV2
*/
def apply(
scheduler: Scheduler,
time: Time,
zkClient: KafkaZkClient
): AlterPartitionManager = {
new ZkAlterPartitionManager(scheduler, time, zkClient)
}
}

class DefaultAlterPartitionManager(
Expand Down
111 changes: 0 additions & 111 deletions core/src/main/scala/kafka/server/ZkAlterPartitionManager.scala

This file was deleted.

58 changes: 0 additions & 58 deletions core/src/main/scala/kafka/utils/ReplicationUtils.scala

This file was deleted.

Loading

0 comments on commit 9d93a4f

Please sign in to comment.