You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Keith Wiley <ke...@atigeo.com> on 2015/07/29 23:37:18 UTC

The meaning of the term "group"

?My understanding is that the group id indicated to a consumer constructor is an arbitrary string of my own choosing on the client side, at the time of construction, which will "group" committed offsets for any set of such consumers.  But the offsets() function, which is merely a query function for seeing the current offsets, is defined as taking a "group" parameter which is a string chosen from the set a set of constants: fetch, commit, task_done, or highwater (alternatively the function can be called with no parameter in which all four values are returned).


Am I correct that the use of the term group in these two cases is absolutely, totally unrelated?


Keith Wiley
Senior Software Engineer, Atigeo
keith.wiley@atigeo.com

[atigeo]<http://atigeo.com/>
[twitter]<https://twitter.com/atigeo> [LinkedIn] <https://www.linkedin.com/company/atigeo>  [YouTube] <https://www.youtube.com/user/AtigeoXpatterns/>  [blog] <http://xpatterns.com/blog/>



Re: The meaning of the term "group"

Posted by Gwen Shapira <gs...@cloudera.com>.
Can you point specifically to which offsets() function you are
referring to? (i.e object or file name will help) I didn't find a
method that takes group as a parameter in the consumer API...

On Wed, Jul 29, 2015 at 2:37 PM, Keith Wiley <ke...@atigeo.com> wrote:
> ?My understanding is that the group id indicated to a consumer constructor is an arbitrary string of my own choosing on the client side, at the time of construction, which will "group" committed offsets for any set of such consumers.  But the offsets() function, which is merely a query function for seeing the current offsets, is defined as taking a "group" parameter which is a string chosen from the set a set of constants: fetch, commit, task_done, or highwater (alternatively the function can be called with no parameter in which all four values are returned).
>
>
> Am I correct that the use of the term group in these two cases is absolutely, totally unrelated?
>
>
> Keith Wiley
> Senior Software Engineer, Atigeo
> keith.wiley@atigeo.com
>
> [atigeo]<http://atigeo.com/>
> [twitter]<https://twitter.com/atigeo> [LinkedIn] <https://www.linkedin.com/company/atigeo>  [YouTube] <https://www.youtube.com/user/AtigeoXpatterns/>  [blog] <http://xpatterns.com/blog/>
>
>