mirror of https://github.com/apache/kafka.git
In `KafkaApis.scala`, we build the API response differently if exceptions are thrown during the API execution. Since the new group coordinator only populates the response with error code instead of throwing an exception when an error occurs, there may be different behavior between the existing group coordinator and the new one. This patch: - Fixes the response building in `KafkaApis.scala` for the two APIs affected by such difference -- OffsetFetch and OffsetDelete. - In `GroupCoordinatorService.java`, returns a response with error code instead of a failed future when the coordinator is not active. Reviewers: David Jacot <djacot@confluent.io> |
||
---|---|---|
.. | ||
src | ||
.gitignore |