Hi,

I'm migrating KafkaConfig and LogConfig over to AbstractConfig
interface,and I've ran into something strange:

All of LogConfig parameters also exist at KafkaConfig level.
However the defaults are completely different. Few examples:

Maximum message size is  1000000 + MessageSet.LogOverhead in
KafkaConfig defaults, but MaxInt at LogConfig level.

Segment size (bytes) is 1024 * 1024 * 1024 at KafkaConfig, but 1024 *
1024 in LogConfig.

This is true for most configs.

>From what I can see, LogConfigs are NEVER users, because LogManager is
initialized with values from KafkaConfig as the default LogConfig when
it starts.

Anyone knows why LogConfig has different defaults?
Any objections to unifying them?

Gwen

Reply via email to