Skip to content

Commit

Permalink
KAFKA-12952: Remove deprecated LogConfig.Compact (#10451)
Browse files Browse the repository at this point in the history
Deprecated since 1.0.0 for misleading name. Not a public API technically,
but we were conservative originally.

Reviewers: David Jacot <djacot@confluent.io>
  • Loading branch information
ijuma authored Apr 1, 2021
1 parent 7c5c739 commit ad83fd0
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 ad83fd0

Please sign in to comment.