Re: Log Retention Period of Kafka Messages

2018-03-12 Thread James Cheng
> On Mar 12, 2018, at 10:13 AM, Kyle Tinker > wrote: > > You have a couple options: > 1) You can adjust log.segment.bytes to make the segments smaller so that > individual segments can be trimmed > 2) You can set log.roll.hours, which will roll to a new log segment even if > the size hasn't

RE: Log Retention Period of Kafka Messages

2018-03-12 Thread Kyle Tinker
You have a couple options: 1) You can adjust log.segment.bytes to make the segments smaller so that individual segments can be trimmed 2) You can set log.roll.hours, which will roll to a new log segment even if the size hasn't been reached Note: #1 and #2 also have per-topic setting controls htt