[ https://issues.apache.org/jira/browse/KAFKA-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guozhang Wang resolved KAFKA-1602. ---------------------------------- Resolution: Not A Problem > Use single error code for offset commit response > ------------------------------------------------ > > Key: KAFKA-1602 > URL: https://issues.apache.org/jira/browse/KAFKA-1602 > Project: Kafka > Issue Type: Bug > Reporter: Guozhang Wang > Priority: Major > Labels: newbie++ > > As discussed with Joel offline, today the offset commit response contains an > error code for each partition, but the error code will almost always be the > same across all partitions. Offset commits for a given consumer instance in a > consumer group all go to the same partition of the offsets topic. So there > are only two known cases when we may want it to be different: (i) some > partitions may have very large metadata leading to a metadata-size-too-large > error (ii) if we don't use compression (which will be the case until we have > KAFKA-1374) there could be partial appends. Given that: item (ii) is a corner > case and if we use compression (which we will turn on by default once > KAFKA-1374 is done) item (i) will be eliminated; and that item (i) will be > easier to handle by just failing the whole request and sending back a single > error code (of metadata too large); we can just have a single error-code in > the response. > Note that this will be a protocol change and hence we need to bump up the > response version number. -- This message was sent by Atlassian Jira (v8.3.4#803005)