@@ -22,7 +22,6 @@ import com.automq.stream.s3.metadata.ObjectUtils
22
22
import kafka .autobalancer .AutoBalancerManager
23
23
import kafka .autobalancer .services .AutoBalancerService
24
24
import kafka .controller .streamaspect .client .{Context , StreamClientFactoryProxy }
25
-
26
25
import kafka .migration .MigrationPropagator
27
26
import kafka .network .{DataPlaneAcceptor , SocketServer }
28
27
import kafka .raft .KafkaRaftManager
@@ -38,7 +37,7 @@ import org.apache.kafka.common.network.ListenerName
38
37
import org .apache .kafka .common .security .scram .internals .ScramMechanism
39
38
import org .apache .kafka .common .security .token .delegation .internals .DelegationTokenCache
40
39
import org .apache .kafka .common .utils .LogContext
41
- import org .apache .kafka .common .{ClusterResource , Endpoint , Uuid }
40
+ import org .apache .kafka .common .{ClusterResource , Endpoint , Reconfigurable , Uuid }
42
41
import org .apache .kafka .controller .metrics .{ControllerMetadataMetricsPublisher , QuorumControllerMetrics }
43
42
import org .apache .kafka .controller .{QuorumController , QuorumControllerExtension , QuorumFeatures }
44
43
import org .apache .kafka .image .publisher .{ControllerRegistrationsPublisher , MetadataPublisher }
@@ -584,5 +583,12 @@ class ControllerServer(
584
583
protected def replicaPlacer (): ReplicaPlacer = {
585
584
new StripedReplicaPlacer (new Random ())
586
585
}
586
+
587
+ // return a list of all reconfigurable objects
588
+ def reconfigurables (): java.util.List [Reconfigurable ] = {
589
+ java.util.List .of(
590
+ autoBalancerManager
591
+ )
592
+ }
587
593
// AutoMQ for Kafka inject end
588
594
}
0 commit comments