mirror of https://github.com/apache/kafka.git
|
CI / build (push) Waiting to run
Details
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> |
||
|---|---|---|
| .. | ||
| .scalafmt.conf | ||
| checkstyle.xml | ||
| import-control-clients-integration-tests.xml | ||
| import-control-coordinator-common.xml | ||
| import-control-core.xml | ||
| import-control-examples.xml | ||
| import-control-group-coordinator.xml | ||
| import-control-jmh-benchmarks.xml | ||
| import-control-metadata.xml | ||
| import-control-server-common.xml | ||
| import-control-server.xml | ||
| import-control-share-coordinator.xml | ||
| import-control-storage.xml | ||
| import-control-test-common-internal-api.xml | ||
| import-control-test-common-runtime.xml | ||
| import-control-test-common-util.xml | ||
| import-control-transaction-coordinator.xml | ||
| import-control.xml | ||
| java.header | ||
| suppressions.xml | ||