kafka/checkstyle
Ken Huang bcda92b5b9
CI / build (push) Waiting to run Details
KAFKA-19080 The constraint on segment.ms is not enforced at topic level (#19371)
The main issue was that we forgot to set
`TopicConfig.SEGMENT_BYTES_CONFIG` to at least `1024 * 1024`, which
caused problems in tests with small segment sizes.

To address this, we introduced a new internal config:
`LogConfig.INTERNAL_SEGMENT_BYTES_CONFIG`, allowing us to set smaller
segment bytes specifically for testing purposes.

We also updated the logic so that if a user configures the topic-level
segment bytes without explicitly setting the internal config, the
internal value will no longer be returned to the user.

In addition, we removed
`MetadataLogConfig#METADATA_LOG_SEGMENT_MIN_BYTES_CONFIG` and added
three new internal configurations:
- `INTERNAL_MAX_BATCH_SIZE_IN_BYTES_CONFIG`
- `INTERNAL_MAX_FETCH_SIZE_IN_BYTES_CONFIG`
- `INTERNAL_DELETE_DELAY_MILLIS_CONFIG`

Reviewers: Jun Rao <junrao@gmail.com>, Chia-Ping Tsai
 <chia7712@gmail.com>
2025-05-25 20:57:22 +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 MINOR: Move logDirs config out of KafkaConfig (#19579) 2025-05-17 00:52:20 +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-17747: [2/N] Add compute topic and group hash (#19523) 2025-05-15 10:48:45 +02:00
import-control-jmh-benchmarks.xml KAFKA-19183 Replace Pool with ConcurrentHashMap (#19535) 2025-04-27 23:19:49 +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-19260 Move LoggingController to server module (#19687) 2025-05-23 23:39:33 +08: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-19034 [1/N] Rewrite RemoteTopicCrudTest by ClusterTest and move it to storage module (#19681) 2025-05-25 14:50:16 +08: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-19080 The constraint on segment.ms is not enforced at topic level (#19371) 2025-05-25 20:57:22 +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-19231-1: Handle fetch request when share session cache is full (#19701) 2025-05-15 14:36:44 +01:00