<?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 Kafka does not delete expired data automatically. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-does-not-delete-expired-data-automatically/m-p/131220#M55852</link>
    <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;The version of HDP is HDP-2.4.2.0.&lt;/P&gt;&lt;P&gt;Below is kafka setting list:&lt;/P&gt;&lt;P&gt;log.roll.hours:96&lt;/P&gt;&lt;P&gt;log.retention.hours:48&lt;/P&gt;&lt;P&gt;log.cleanup.interval.mins:10&lt;/P&gt;&lt;P&gt;log.retention.bytes:2199023255552&lt;/P&gt;&lt;P&gt;offsets.retention.check.interval.ms:600000&lt;/P&gt;&lt;P&gt;offsets.retention.minutes:86400000&lt;/P&gt;&lt;P&gt;log.retention.check.interval.ms:300000&lt;/P&gt;&lt;P&gt;But I still could find data which were generated before two days. And no data is deleted automatically.&lt;/P&gt;&lt;P&gt;Anyone could help me ?&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2017 11:19:23 GMT</pubDate>
    <dc:creator>393219974</dc:creator>
    <dc:date>2017-03-01T11:19:23Z</dc:date>
    <item>
      <title>Kafka does not delete expired data automatically.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-does-not-delete-expired-data-automatically/m-p/131220#M55852</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;The version of HDP is HDP-2.4.2.0.&lt;/P&gt;&lt;P&gt;Below is kafka setting list:&lt;/P&gt;&lt;P&gt;log.roll.hours:96&lt;/P&gt;&lt;P&gt;log.retention.hours:48&lt;/P&gt;&lt;P&gt;log.cleanup.interval.mins:10&lt;/P&gt;&lt;P&gt;log.retention.bytes:2199023255552&lt;/P&gt;&lt;P&gt;offsets.retention.check.interval.ms:600000&lt;/P&gt;&lt;P&gt;offsets.retention.minutes:86400000&lt;/P&gt;&lt;P&gt;log.retention.check.interval.ms:300000&lt;/P&gt;&lt;P&gt;But I still could find data which were generated before two days. And no data is deleted automatically.&lt;/P&gt;&lt;P&gt;Anyone could help me ?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 11:19:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-does-not-delete-expired-data-automatically/m-p/131220#M55852</guid>
      <dc:creator>393219974</dc:creator>
      <dc:date>2017-03-01T11:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka does not delete expired data automatically.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-does-not-delete-expired-data-automatically/m-p/131221#M55853</link>
      <description>&lt;P&gt;Kafka cluster has thee node, one of data node size  is more than 3.9T. I have set the parameter is 2T(log.retention.bytes:2199023255552) for all kafka log data, which setting does not take effect. &lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 11:25:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-does-not-delete-expired-data-automatically/m-p/131221#M55853</guid>
      <dc:creator>393219974</dc:creator>
      <dc:date>2017-03-01T11:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka does not delete expired data automatically.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-does-not-delete-expired-data-automatically/m-p/131222#M55854</link>
      <description>&lt;P&gt;Finally this problem is found by checking the log file's time. the log file's create_time will be changed to current time when we restarted the Kafka service. the time which is used to define expired time based on the create time's setting.&lt;/P&gt;&lt;P&gt;For example: I restart Kafka all services at 5 PM, the setting of expired time is set to 2 hours. the data will be started to delete at 7 PM.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 16:27:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-does-not-delete-expired-data-automatically/m-p/131222#M55854</guid>
      <dc:creator>393219974</dc:creator>
      <dc:date>2017-03-01T16:27:10Z</dc:date>
    </item>
  </channel>
</rss>

