<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Kafka offset topic not following retention policy in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-offset-topic-not-following-retention-policy/m-p/123382#M26679</link>
    <description>&lt;P&gt;There is actually a specific parameter for offset retention&lt;/P&gt;&lt;P&gt;offsets.retention.minutes which by default is 1440 or one day. So it actually should be deleted sooner.&lt;/P&gt;&lt;P&gt;&lt;A href="http://kafka.apache.org/documentation.html" target="_blank"&gt;http://kafka.apache.org/documentation.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 30 Apr 2016 01:20:44 GMT</pubDate>
    <dc:creator>bleonhardi</dc:creator>
    <dc:date>2016-04-30T01:20:44Z</dc:date>
    <item>
      <title>Kafka offset topic not following retention policy</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-offset-topic-not-following-retention-policy/m-p/123381#M26678</link>
      <description>&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Most topics (created by our app) are following the policy(deletes the data after 2 days). But, there is one which is internal to kafka which is used for consumer offset position(We use the client api to commit the offset). This is not being deleted after 2 days. kakfka broker version: 2.3.4.0-3485. Here are the retention policy values:
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Converted the server.properties from kafka config to a txt and attaching it here:&lt;/P&gt;&lt;P&gt;Kafka broker retention policy configuration(from server.properties)&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/3849-server.txt"&gt;server.txt&lt;/A&gt;: &lt;/P&gt;&lt;P&gt;############################# Log Retention Policy #############################
# &lt;/P&gt;&lt;P&gt;The following configurations control the disposal of log segments. The policy can
# be set to delete segments after a period of time, or after a given size has accumulated.
# A segment will be deleted whenever *either* of these criteria are met. Deletion always happens
# from the end of the log.
# The minimum age of a log file to be eligible for deletion
log.retention.hours=48
# A size-based retention policy for logs. Segments are pruned from the log as long as the remaining
# segments don't drop below log.retention.bytes.
#log.retention.bytes=1073741824
# The maximum size of a log segment file. When this size is reached a new log segment will be created.
log.segment.bytes=536870912
# The interval at which log segments are checked to see if they can be deleted according
# to the retention policies
log.retention.check.interval.ms=300000
# By default the log cleaner is disabled and the log retention policy will default to just delete segments after their retention expires.
# If log.cleaner.enable=true is set the cleaner will be enabled and individual logs can then be marked for log compaction.
log.cleaner.enable=false&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 01:10:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-offset-topic-not-following-retention-policy/m-p/123381#M26678</guid>
      <dc:creator>manoj_ramakrish</dc:creator>
      <dc:date>2016-04-30T01:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka offset topic not following retention policy</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-offset-topic-not-following-retention-policy/m-p/123382#M26679</link>
      <description>&lt;P&gt;There is actually a specific parameter for offset retention&lt;/P&gt;&lt;P&gt;offsets.retention.minutes which by default is 1440 or one day. So it actually should be deleted sooner.&lt;/P&gt;&lt;P&gt;&lt;A href="http://kafka.apache.org/documentation.html" target="_blank"&gt;http://kafka.apache.org/documentation.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 01:20:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-offset-topic-not-following-retention-policy/m-p/123382#M26679</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-04-30T01:20:44Z</dc:date>
    </item>
  </channel>
</rss>

