[ https://issues.apache.org/jira/browse/KAFKA-3550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237800#comment-15237800 ]
Grant Henke commented on KAFKA-3550: ------------------------------------ Note that KAFKA-2512 has an older pull request open from [~becket_qin] to validate the apiVersion of all requests here: https://github.com/apache/kafka/pull/200 > Broker does not honor MetadataRequest api version; always returns v0 > MetadataResponse > ------------------------------------------------------------------------------------- > > Key: KAFKA-3550 > URL: https://issues.apache.org/jira/browse/KAFKA-3550 > Project: Kafka > Issue Type: Bug > Components: core > Affects Versions: 0.8.0, 0.8.1.1, 0.8.2.2, 0.9.0.1 > Reporter: Dana Powers > Assignee: Grant Henke > > To reproduce: > Send a MetadataRequest (api key 3) with incorrect api version (e.g., 1234). > The expected behavior is for the broker to reject the request as unrecognized. > Broker (incorrectly) responds with MetadataResponse v0. > The problem here is that any request for a "new" MetadataRequest (i.e., > KIP-4) sent to an old broker will generate an incorrect response. -- This message was sent by Atlassian JIRA (v6.3.4#6332)