The Config file size is the issue or the configuration pojo ? On Sun, 30 Apr 2023 at 19:51 lifepuzzlefun <wjl_is_...@163.com> wrote:
> current file is 3470 line with all pulsar configuration. > it is slow in my local ide. > > > 59 config in loadbalancer. > 17 config in metric. > 64 config in policies. > 41 config for bk client. > 50 for managed ledger. > 100+ for all other server cofig. > > > if split by category maybe more clear > > > class ServiceConfiguration { > LoadbalancerConfiguration > MetricConfiguration > BookkeeperClientConfiguration > .... > } > > > one problem is that if split in this way, most config should change access > by conf.getLoadBalancerConfiguration().getXXXXX(). > > > so most of the code base will be changed. > > > any ideas ? > > > >