[ https://issues.apache.org/jira/browse/KAFKA-2845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15012438#comment-15012438 ]
Gwen Shapira commented on KAFKA-2845: ------------------------------------- [~granders] The broker responds not with the latest version, but with the version that matches what it got from the client. You can look up the code in NetworkClient.handleCompletedRecieves, to see how the response schema is generated with the request version. In an older broker: if the client sends V1, the broker should see it is V1, figure out its not a version it can handle (since its an old broker), write an error and close the connection. Thats while new brokers work fine with old clients but not vice-versa. > Add 0.9 clients vs 0.8 brokers compatibility test > ------------------------------------------------- > > Key: KAFKA-2845 > URL: https://issues.apache.org/jira/browse/KAFKA-2845 > Project: Kafka > Issue Type: Task > Reporter: Geoff Anderson > Assignee: Geoff Anderson > > Add a simple test or two to document and understand what behavior to expect > if users try to run 0.9 java producer or 0.9 scala consumer ("old consumer") > against an 0.8.X broker cluster -- This message was sent by Atlassian JIRA (v6.3.4#6332)