Skip to content

Commit

Permalink
Reduced kafka log retention to 12 hours.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Leinhos committed Mar 1, 2019
1 parent c7b1d83 commit 427a25b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions control/logging/config/server.properties
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ transaction.state.log.min.isr=1
# from the end of the log.

# The minimum age of a log file to be eligible for deletion due to age
log.retention.hours=168
log.retention.hours=12

# A size-based retention policy for logs. Segments are pruned from the log unless the remaining
# segments drop below log.retention.bytes. Functions independently of log.retention.hours.
Expand Down Expand Up @@ -154,4 +154,4 @@ zookeeper.connection.timeout.ms=6000
# The default value for this is 3 seconds.
# We override this to 0 here as it makes for a better out-of-the-box experience for development and testing.
# However, in production environments the default value of 3 seconds is more suitable as this will help to avoid unnecessary, and potentially expensive, rebalances during application startup.
group.initial.rebalance.delay.ms=0
group.initial.rebalance.delay.ms=0

0 comments on commit 427a25b

Please sign in to comment.