You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Boyang Chen (JIRA)" <ji...@apache.org> on 2019/05/28 16:52:00 UTC

[jira] [Commented] (KAFKA-8430) Unit test to make sure `group.id` and `group.instance.id` won't affect each other

    [ https://issues.apache.org/jira/browse/KAFKA-8430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16849923#comment-16849923 ] 

Boyang Chen commented on KAFKA-8430:
------------------------------------

After checking the code in `KafkaConsumer`, I found out that the logic for null `group.id` is like
```// no coordinator will be constructed for the default (null) group id
 this.coordinator = groupId == null ? null :(
 new ConsumerCoordinator(logContext,```
So if `ConsumerCoordinator` is not constructed, `group.instance.id` is no use at all.

> Unit test to make sure `group.id` and `group.instance.id` won't affect each other
> ---------------------------------------------------------------------------------
>
>                 Key: KAFKA-8430
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8430
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Boyang Chen
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)