Skip to content

Commit

Permalink
KAFKA-12952: Remove deprecated LogConfig.Compact
Browse files Browse the repository at this point in the history
  • Loading branch information
ijuma committed Mar 31, 2021
1 parent 6675788 commit 3f1fe06
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions core/src/main/scala/kafka/log/LogConfig.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f1fe06

Please sign in to comment.