chia7712 commented on code in PR #22409:
URL: https://github.com/apache/kafka/pull/22409#discussion_r3469765160


##########
storage/src/main/java/org/apache/kafka/storage/internals/log/LogCleaner.java:
##########
@@ -95,7 +95,7 @@
  *    tombstone deletion.</li>
  * </ol>
  */
-public class LogCleaner implements BrokerReconfigurable {
+public class LogCleaner implements BrokerReconfigurable<AbstractConfig> {

Review Comment:
   ```scala
       addBrokerReconfigurable(new BrokerDynamicThreadPool(kafkaServer))
       addBrokerReconfigurable(new DynamicLogConfig(kafkaServer.logManager, 
kafkaServer.replicaManager.directoryEventHandler))
       addBrokerReconfigurable(new DynamicListenerConfig(kafkaServer))
       addBrokerReconfigurable(kafkaServer.socketServer)
       addBrokerReconfigurable(new 
DynamicProducerStateManagerConfig(kafkaServer.logManager.producerStateManagerConfig))
       addBrokerReconfigurable(new DynamicRemoteLogConfig(kafkaServer))
       addBrokerReconfigurable(new DynamicReplicationConfig(kafkaServer))
   ```
   
   Most of the classes supporting reconfiguration are currently using simple 
adapter classes. While your approach is well-designed, I am not convinced that 
it is necessary to introduce such a complex solution at this time



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to