kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "一直以来" <279377...@qq.com>
Subject 回复: kafka-consumer-groups.sh CURRENT-OFFSET column show "-" , what mean about it ! thank you !
Date Wed, 22 Apr 2020 08:02:27 GMT
but show "0" and "_", show two value difference???
thank you !


------------------&nbsp;原始邮件&nbsp;------------------
发件人:&nbsp;"Liam Clarke-Hutchinson"<liam.clarke@adscale.co.nz&gt;;
发送时间:&nbsp;2020年4月21日(星期二) 凌晨4:22
收件人:&nbsp;"users"<users@kafka.apache.org&gt;;

主题:&nbsp;Re: kafka-consumer-groups.sh CURRENT-OFFSET column show "-" , what mean about
it ! thank you !



Hi,

&nbsp;It means the consumer group exists, and Kafka's aware of it's topic
subscriptions, but either the consumers haven't consumed yet (if using auto
offset commit) or the consumers haven't committed any offsets, if using
manual offset committing.

Does that make sense?

Kind regards,

Liam Clarke-Hutchinson

On Tue, Apr 21, 2020 at 8:12 PM 一直以来 <279377921@qq.com&gt; wrote:

&gt; ghy@ghy-VirtualBox:~/T/k/bin$ ./kafka-consumer-groups.sh
&gt; --bootstrap-server localhost:9081 --describe --group test
&gt;
&gt;
&gt; GROUP&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TOPIC&amp;nbsp;
&amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;PARTITION&amp;nbsp; CURRENT-OFFSET&amp;nbsp;
&gt; LOG-END-OFFSET&amp;nbsp; LAG&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp;CONSUMER-ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; HOST&amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; CLIENT-ID
&gt; test&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
myTopic3&amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; 4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp;consumer-test-1-d5f2f83d-59fa-4c3b-859d-4219e16479a8 /192.168.1.104&amp;nbsp;
&gt; consumer-test-1
&gt; test&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
myTopic3&amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp;consumer-test-1-d5f2f83d-59fa-4c3b-859d-4219e16479a8 /192.168.1.104&amp;nbsp;
&gt; consumer-test-1
&gt; test&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
myTopic3&amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp;consumer-test-1-d5f2f83d-59fa-4c3b-859d-4219e16479a8 /192.168.1.104&amp;nbsp;
&gt; consumer-test-1
&gt; test&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
myTopic3&amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; 3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp;consumer-test-1-d5f2f83d-59fa-4c3b-859d-4219e16479a8 /192.168.1.104&amp;nbsp;
&gt; consumer-test-1
&gt; test&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
myTopic3&amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp;consumer-test-1-d5f2f83d-59fa-4c3b-859d-4219e16479a8 /192.168.1.104&amp;nbsp;
&gt; consumer-test-1
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message