Skip to content

Commit 0e6a349

Browse files
committed
add forRemoval
1 parent 9f7c406 commit 0e6a349

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: storage/src/main/java/org/apache/kafka/storage/internals/log/CleanerConfig.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class CleanerConfig {
5050
public static final String LOG_CLEANER_DEDUPE_BUFFER_LOAD_FACTOR_PROP = ServerTopicConfigSynonyms.LOG_CLEANER_PREFIX + "io.buffer.load.factor";
5151
public static final String LOG_CLEANER_BACKOFF_MS_PROP = ServerTopicConfigSynonyms.LOG_CLEANER_PREFIX + "backoff.ms";
5252
public static final String LOG_CLEANER_MIN_CLEAN_RATIO_PROP = ServerTopicConfigSynonyms.serverSynonym(TopicConfig.MIN_CLEANABLE_DIRTY_RATIO_CONFIG);
53-
@Deprecated(since = "4.1")
53+
@Deprecated(since = "4.1", forRemoval = true)
5454
public static final String LOG_CLEANER_ENABLE_PROP = ServerTopicConfigSynonyms.LOG_CLEANER_PREFIX + "enable";
5555
public static final String LOG_CLEANER_DELETE_RETENTION_MS_PROP = ServerTopicConfigSynonyms.serverSynonym(TopicConfig.DELETE_RETENTION_MS_CONFIG);
5656
public static final String LOG_CLEANER_MIN_COMPACTION_LAG_MS_PROP = ServerTopicConfigSynonyms.serverSynonym(TopicConfig.MIN_COMPACTION_LAG_MS_CONFIG);
@@ -69,7 +69,7 @@ public class CleanerConfig {
6969
public static final String LOG_CLEANER_DEDUPE_BUFFER_LOAD_FACTOR_DOC = "Log cleaner dedupe buffer load factor. The percentage full the dedupe buffer can become. A higher value " +
7070
"will allow more log to be cleaned at once but will lead to more hash collisions";
7171
public static final String LOG_CLEANER_BACKOFF_MS_DOC = "The amount of time to sleep when there are no logs to clean";
72-
@Deprecated(since = "4.1")
72+
@Deprecated(since = "4.1", forRemoval = true)
7373
public static final String LOG_CLEANER_ENABLE_DOC = "This configuration has been deprecated and will be removed in Kafka 5.0. Users should not set it to false to prepare for its future removal. " +
7474
"Enable the log cleaner process to run on the server. Should be enabled if using any topics with a cleanup.policy=compact including the internal offsets topic. If disabled those topics will not be compacted and continually grow in size.";
7575
public static final String LOG_CLEANER_DELETE_RETENTION_MS_DOC = "The amount of time to retain tombstone message markers for log compacted topics. This setting also gives a bound " +

0 commit comments

Comments
 (0)