<?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: how to set offset.storage to kafka in HDP 2.4 ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-set-offset-storage-to-kafka-in-HDP-2-4/m-p/125092#M31052</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10884/rlebretonnic.html" nodeid="10884"&gt;@Régis LE BRETONNIC&lt;/A&gt; there is no such property as offsets.storage on kafka broker side i.e server.properties. offsets.storage is consumer side config.&lt;/P&gt;&lt;P&gt;If you are using new consumer api than it defaults to storing the offsets in kafka topic but if you are using old high-level consumer api than it defaults to using zookeeper as storage. To change that make sure you add offsets.storage=kafka in consumer.properties.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jun 2016 01:26:25 GMT</pubDate>
    <dc:creator>schintalapani</dc:creator>
    <dc:date>2016-06-08T01:26:25Z</dc:date>
    <item>
      <title>how to set offset.storage to kafka in HDP 2.4 ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-set-offset-storage-to-kafka-in-HDP-2-4/m-p/125089#M31049</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Almost evrything is in the title.. I want to switch from an offsets management in ZK to an offsets management in kafka.
How to do this in HDP 2.4 ? I tried to add offsets.storage and offsets.storage.topic in the "custom kafka broker" and parameters are well taken into account :&lt;/P&gt;&lt;P&gt;[kafka@mykafka conf]$ grep offsets.storage *&lt;/P&gt;&lt;P&gt;server.properties:offsets.storage=kafka&lt;/P&gt;&lt;P&gt;server.properties:offsets.storage.topic=offset-topic
&lt;/P&gt;&lt;P&gt;But it doesn't work... and nothing is recorded in my offset topic.&lt;/P&gt;&lt;P&gt;Thx in advance. Regards...&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 22:43:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-set-offset-storage-to-kafka-in-HDP-2-4/m-p/125089#M31049</guid>
      <dc:creator>rlebretonnic</dc:creator>
      <dc:date>2016-06-07T22:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to set offset.storage to kafka in HDP 2.4 ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-set-offset-storage-to-kafka-in-HDP-2-4/m-p/125090#M31050</link>
      <description>&lt;P&gt;did you try setting dual.commit.enabled to true?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 23:22:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-set-offset-storage-to-kafka-in-HDP-2-4/m-p/125090#M31050</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-06-07T23:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to set offset.storage to kafka in HDP 2.4 ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-set-offset-storage-to-kafka-in-HDP-2-4/m-p/125091#M31051</link>
      <description>&lt;P&gt;Yes I set it to true.&lt;/P&gt;&lt;P&gt;I made a mistake... It seems that it is offsets.storage (with S) and offset.storage.topic (w/o S)... See :&lt;A href="http://kafka.apache.org/documentation.html"&gt;http://kafka.apache.org/documentation.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But even after having fixed this, it doesn't work. Did you achieve to us offset management within kafka ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 23:25:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-set-offset-storage-to-kafka-in-HDP-2-4/m-p/125091#M31051</guid>
      <dc:creator>rlebretonnic</dc:creator>
      <dc:date>2016-06-07T23:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to set offset.storage to kafka in HDP 2.4 ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-set-offset-storage-to-kafka-in-HDP-2-4/m-p/125092#M31052</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10884/rlebretonnic.html" nodeid="10884"&gt;@Régis LE BRETONNIC&lt;/A&gt; there is no such property as offsets.storage on kafka broker side i.e server.properties. offsets.storage is consumer side config.&lt;/P&gt;&lt;P&gt;If you are using new consumer api than it defaults to storing the offsets in kafka topic but if you are using old high-level consumer api than it defaults to using zookeeper as storage. To change that make sure you add offsets.storage=kafka in consumer.properties.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 01:26:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-set-offset-storage-to-kafka-in-HDP-2-4/m-p/125092#M31052</guid>
      <dc:creator>schintalapani</dc:creator>
      <dc:date>2016-06-08T01:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to set offset.storage to kafka in HDP 2.4 ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-set-offset-storage-to-kafka-in-HDP-2-4/m-p/125093#M31053</link>
      <description>&lt;P&gt;Of course you're right. I was thinking that this property was inherited from the server but it is a consumer feature. It worked as wished now...

I still have an issue when I want to personalize the offset topic :&lt;/P&gt;&lt;P&gt;[2016-06-08 05:20:02,664] WARN Property offset.storage.topic is not valid (kafka.utils.VerifiableProperties)&lt;/P&gt;&lt;P&gt;I will investigate, but if I ignore this property and use the default topic __consumer_offsets it works fine.&lt;/P&gt;&lt;P&gt;Thk a lot for your clarification.
&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 15:00:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-set-offset-storage-to-kafka-in-HDP-2-4/m-p/125093#M31053</guid>
      <dc:creator>rlebretonnic</dc:creator>
      <dc:date>2016-06-08T15:00:37Z</dc:date>
    </item>
  </channel>
</rss>

