kafka/checkstyle
Logan Zhu 50fb993ce0
KAFKA-19136 Move metadata-related configs from KRaftConfigs to MetadataLogConfig (#19465)
Separates metadata-related configurations from the `KRaftConfigs` into
the `MetadataLogConfig` class.

Previously, metadata-related configs were placed in `KRaftConfigs`,
which mixed server-related configs (like process.roles) with
metadata-specific ones (like metadata.log.*), leading to confusion and
tight coupling.

In this PR:
- Extract metadata-related config definitions and variables from
`KRaftConfig` into `MetadataLogConfig`.
- Move `node.id` out of `MetadataLogConfig` into `KafkaMetadataLog’s
constructor` to avoid redundant config references.
- Leave server-related configurations in `KRaftConfig`, consistent with
its role.

This separation makes `KafkaConfig` and `KRaftConfig` cleaner, and
aligns with the goal of having a dedicated MetadataLogConfig class for
managing metadata-specific configurations.

Reviewers: PoAn Yang <payang@apache.org>, Ken Huang
 <s7133700@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
2025-04-17 22:17:11 +08:00
..
.scalafmt.conf MINOR: Update to Scala 2.13.12 (#14430) 2023-09-24 06:05:12 -07:00
checkstyle.xml MINOR: Disallow unused local variables (#18963) 2025-03-10 09:37:35 +01:00
import-control-clients-integration-tests.xml KAFKA-19002 Rewrite ListOffsetsIntegrationTest and move it to clients-integration-test (#19460) 2025-04-17 02:26:23 +08:00
import-control-coordinator-common.xml KAFKA-18813: ConsumerGroupHeartbeat API and ConsumerGroupDescribe API must check topic describe (#18989) 2025-02-26 13:05:36 -05:00
import-control-core.xml KAFKA-14523: Move kafka.log.remote classes to storage (#19474) 2025-04-17 11:05:14 +02:00
import-control-examples.xml KAFKA-18658 add import control for examples module (#18812) 2025-02-11 06:07:40 +08:00
import-control-group-coordinator.xml KAFKA-18813: ConsumerGroupHeartbeat API and ConsumerGroupDescribe API must check topic describe (#18989) 2025-02-26 13:05:36 -05:00
import-control-jmh-benchmarks.xml KAFKA-17569 Rewrite TestLinearWriteSpeed by Java (#17736) 2024-11-26 23:43:01 +08:00
import-control-metadata.xml KAFKA-18888: Add KIP-877 support to Authorizer (#19050) 2025-04-15 19:40:24 +02:00
import-control-server-common.xml KAFKA-14485: Move LogCleaner to storage module (#19387) 2025-04-11 09:21:05 -07:00
import-control-server.xml KAFKA-18888: Add KIP-877 support to Authorizer (#19050) 2025-04-15 19:40:24 +02:00
import-control-share-coordinator.xml KAFKA-18813: ConsumerGroupHeartbeat API and ConsumerGroupDescribe API must check topic describe (#18989) 2025-02-26 13:05:36 -05:00
import-control-storage.xml KAFKA-14523: Move kafka.log.remote classes to storage (#19474) 2025-04-17 11:05:14 +02:00
import-control-test-common-internal-api.xml KAFKA-17587 Refactor test infrastructure (#18602) 2025-01-24 09:03:43 -05:00
import-control-test-common-runtime.xml KAFKA-17587 Refactor test infrastructure (#18602) 2025-01-24 09:03:43 -05:00
import-control-test-common-util.xml KAFKA-17587 Refactor test infrastructure (#18602) 2025-01-24 09:03:43 -05:00
import-control-transaction-coordinator.xml KAFKA-17587 Refactor test infrastructure (#18602) 2025-01-24 09:03:43 -05:00
import-control.xml KAFKA-19136 Move metadata-related configs from KRaftConfigs to MetadataLogConfig (#19465) 2025-04-17 22:17:11 +08:00
java.header MINOR: improve license header check by providing head file instead of (prefix) header regex 2017-02-28 12:35:04 -08:00
suppressions.xml KAFKA-14523: Move kafka.log.remote classes to storage (#19474) 2025-04-17 11:05:14 +02:00