This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new ad83fd0  KAFKA-12952: Remove deprecated LogConfig.Compact (#10451)
ad83fd0 is described below

commit ad83fd00bf7e67da2db608978c0bd51fdfa657e8
Author: Ismael Juma <[email protected]>
AuthorDate: Thu Apr 1 05:13:39 2021 -0700

    KAFKA-12952: Remove deprecated LogConfig.Compact (#10451)
    
    Deprecated since 1.0.0 for misleading name. Not a public API technically,
    but we were conservative originally.
    
    Reviewers: David Jacot <[email protected]>
---
 core/src/main/scala/kafka/log/LogConfig.scala | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/core/src/main/scala/kafka/log/LogConfig.scala 
b/core/src/main/scala/kafka/log/LogConfig.scala
index c2ab1d8..4a18442 100755
--- a/core/src/main/scala/kafka/log/LogConfig.scala
+++ b/core/src/main/scala/kafka/log/LogConfig.scala
@@ -48,11 +48,6 @@ object Defaults {
   val MinCompactionLagMs = kafka.server.Defaults.LogCleanerMinCompactionLagMs
   val MaxCompactionLagMs = kafka.server.Defaults.LogCleanerMaxCompactionLagMs
   val MinCleanableDirtyRatio = kafka.server.Defaults.LogCleanerMinCleanRatio
-
-  @deprecated(message = "This is a misleading variable name as it actually 
refers to the 'delete' cleanup policy. Use " +
-                        "`CleanupPolicy` instead.", since = "1.0.0")
-  val Compact = kafka.server.Defaults.LogCleanupPolicy
-
   val CleanupPolicy = kafka.server.Defaults.LogCleanupPolicy
   val UncleanLeaderElectionEnable = 
kafka.server.Defaults.UncleanLeaderElectionEnable
   val MinInSyncReplicas = kafka.server.Defaults.MinInSyncReplicas

Reply via email to