Chia-Ping Tsai created KAFKA-21242:
--------------------------------------

             Summary: Migrate Scala LogManager#apply to Java LogManger#create
                 Key: KAFKA-21242
                 URL: https://issues.apache.org/jira/browse/KAFKA-21242
             Project: Kafka
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


{{kafka.log.LogManager#apply}} is a thin Scala factory that extracts config 
values from {{KafkaConfig}} and passes them to the Java {{LogManager}} 
constructor. We can move it to storage as {{LogManager#create(AbstractConfig, 
...)}} and remove the Scala object.

Probably we can introduce a {{LogManagerConfig}} to consolidate those separate 
config items, which also shortens the constructor



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to