<?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: Missing kafka.consumer.* MBeans in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-kafka-consumer-MBeans/m-p/154449#M28810</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/172/schintalapani.html" nodeid="172"&gt;@schintalapani&lt;/A&gt; I believe it is the new am using the interface provided by this (&lt;A href="http://kafka.apache.org/documentation.html#newconsumerapi%29."&gt;http://kafka.apache.org/documentation.html#newconsumerapi).&lt;/A&gt; &lt;/P&gt;&lt;PRE&gt;	&amp;lt;dependency&amp;gt;
	    &amp;lt;groupId&amp;gt;org.apache.kafka&amp;lt;/groupId&amp;gt;
	    &amp;lt;artifactId&amp;gt;kafka-clients&amp;lt;/artifactId&amp;gt;
	    &amp;lt;version&amp;gt;0.9.0.0&amp;lt;/version&amp;gt;
	&amp;lt;/dependency&amp;gt;


org.apache.kafka.clients.consumer.KafkaConsumer&amp;lt;String,String&amp;gt;&lt;/PRE&gt;&lt;P&gt;However, I may be missing a fundamental point. I have mostly been looking at mbeans from the broker, not the client. I did run the client but still did not see kafka.consumer mbeans there either.&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2016 06:59:14 GMT</pubDate>
    <dc:creator>james_jones</dc:creator>
    <dc:date>2016-05-19T06:59:14Z</dc:date>
    <item>
      <title>Missing kafka.consumer.* MBeans</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-kafka-consumer-MBeans/m-p/154447#M28808</link>
      <description>&lt;P&gt;What am I missing? I'm using JConsole connected to my Kafka 0.9.0 broker to find this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;kafka.consumer:type=ConsumerFetcherManager,name=MaxLag,clientId=([-.\w]+)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;However, there is no kafka.consumer.* (nor kafka.producer.* for that matter). &lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 20:41:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-kafka-consumer-MBeans/m-p/154447#M28808</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-05-18T20:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Missing kafka.consumer.* MBeans</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-kafka-consumer-MBeans/m-p/154448#M28809</link>
      <description>&lt;P&gt;@james.jones are you using high-level consumer api? &lt;A href="http://kafka.apache.org/documentation.html#highlevelconsumerapi" target="_blank"&gt;http://kafka.apache.org/documentation.html#highlevelconsumerapi&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 06:37:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-kafka-consumer-MBeans/m-p/154448#M28809</guid>
      <dc:creator>schintalapani</dc:creator>
      <dc:date>2016-05-19T06:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Missing kafka.consumer.* MBeans</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-kafka-consumer-MBeans/m-p/154449#M28810</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/172/schintalapani.html" nodeid="172"&gt;@schintalapani&lt;/A&gt; I believe it is the new am using the interface provided by this (&lt;A href="http://kafka.apache.org/documentation.html#newconsumerapi%29."&gt;http://kafka.apache.org/documentation.html#newconsumerapi).&lt;/A&gt; &lt;/P&gt;&lt;PRE&gt;	&amp;lt;dependency&amp;gt;
	    &amp;lt;groupId&amp;gt;org.apache.kafka&amp;lt;/groupId&amp;gt;
	    &amp;lt;artifactId&amp;gt;kafka-clients&amp;lt;/artifactId&amp;gt;
	    &amp;lt;version&amp;gt;0.9.0.0&amp;lt;/version&amp;gt;
	&amp;lt;/dependency&amp;gt;


org.apache.kafka.clients.consumer.KafkaConsumer&amp;lt;String,String&amp;gt;&lt;/PRE&gt;&lt;P&gt;However, I may be missing a fundamental point. I have mostly been looking at mbeans from the broker, not the client. I did run the client but still did not see kafka.consumer mbeans there either.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 06:59:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-kafka-consumer-MBeans/m-p/154449#M28810</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-05-19T06:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Missing kafka.consumer.* MBeans</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-kafka-consumer-MBeans/m-p/154450#M28811</link>
      <description>&lt;P&gt;@james.jones the metric you are looking is for old high level consumer api. For the new consumer api can you use&lt;/P&gt;&lt;P&gt;kafka.consumer:type=consumer-fetch-manager-metrics,client-id=([-.w]+) and name=records-lag-max&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 07:10:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-kafka-consumer-MBeans/m-p/154450#M28811</guid>
      <dc:creator>schintalapani</dc:creator>
      <dc:date>2016-05-19T07:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Missing kafka.consumer.* MBeans</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-kafka-consumer-MBeans/m-p/154451#M28812</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/172/schintalapani.html" nodeid="172"&gt;@schintalapani&lt;/A&gt; - Thanks! That's what I needed to know!&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 07:36:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-kafka-consumer-MBeans/m-p/154451#M28812</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-05-19T07:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Missing kafka.consumer.* MBeans</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-kafka-consumer-MBeans/m-p/154452#M28813</link>
      <description>&lt;P&gt;I want to correct what I said above. On the client, kafka.consumer exists, but I was looking on the broker. And, the answer below is correct (newly named metric/Mbean is on the new consumer).&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 07:41:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-kafka-consumer-MBeans/m-p/154452#M28813</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-05-19T07:41:21Z</dc:date>
    </item>
  </channel>
</rss>

