You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Guozhang Wang (Jira)" <ji...@apache.org> on 2020/04/03 20:54:00 UTC
[jira] [Created] (KAFKA-9816) Group Coordinator should be stricter
about leader returned assignment
Guozhang Wang created KAFKA-9816:
------------------------------------
Summary: Group Coordinator should be stricter about leader returned assignment
Key: KAFKA-9816
URL: https://issues.apache.org/jira/browse/KAFKA-9816
Project: Kafka
Issue Type: Improvement
Components: core
Reporter: Guozhang Wang
At the moment, broker's group-coordinator does not require leader to provide assignment for all members but will simply default members without assignment with an empty byte buffer. However, since assignment bytes has get two versions now and hence we always have to try de-serialize the version first, an empty assignment could not be interpreted at the client at all.
Therefore, group coordinator should be more strict about the leader#assign function that each member should get non-empty assignment bytes even without assigned partitions.
Once we fixed the bug as discovered in https://issues.apache.org/jira/browse/KAFKA-9801, we should consider making this change since it would be no more compatibility concerns.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)